moonbitstack/moonrpc/channelz does not have a README file

    Channel

    pub(all) struct Channel {
    reference : ChannelRef
    state : Int
    target : String
    calls_started : Int64
    calls_succeeded : Int64
    calls_failed : Int64
    last_call_ms : Int64?
    channel_refs : Array[ChannelRef]
    subchannel_refs : Array[SubchannelRef]
    socket_refs : Array[SocketRef]
    }

    Channel::empty

    fn Channel::empty() -> Channel

    ChannelRef

    pub(all) struct ChannelRef {
    id : Int64
    name : String
    }

    ChannelzService

    pub(all) struct ChannelzService {
    registry :
    Registry

    }

    The channelz service over one registry.

    ChannelzService::add_to_reflection

    Add channelz.proto and the well-known files it imports to a reflection service.

    ChannelzService::install

    Register the seven RPCs on a server, in the clear or over TLS.

    ChannelzService::new

    A channelz service reading registry.

    GetChannelRequest

    pub(all) struct GetChannelRequest {
    channel_id : Int64
    }

    GetChannelRequest::decode

    GetChannelRequest::encode

    fn GetChannelRequest::encode(self : GetChannelRequest) -> Bytes

    GetChannelResponse

    pub(all) struct GetChannelResponse {
    channel : Channel
    }

    GetChannelResponse::decode

    GetChannelResponse::encode

    fn GetChannelResponse::encode(self : GetChannelResponse) -> Bytes

    GetServerRequest

    pub(all) struct GetServerRequest {
    server_id : Int64
    }

    GetServerRequest::decode

    GetServerRequest::encode

    fn GetServerRequest::encode(self : GetServerRequest) -> Bytes

    GetServerResponse

    pub(all) struct GetServerResponse {
    server : Server
    }

    GetServerResponse::decode

    GetServerResponse::encode

    fn GetServerResponse::encode(self : GetServerResponse) -> Bytes

    GetServerSocketsRequest

    pub(all) struct GetServerSocketsRequest {
    server_id : Int64
    start_socket_id : Int64
    max_results : Int64
    }

    GetServerSocketsRequest::decode

    GetServerSocketsRequest::encode

    GetServerSocketsResponse

    pub(all) struct GetServerSocketsResponse {
    socket_ref : Array[SocketRef]
    is_end : Bool
    }

    GetServerSocketsResponse::decode

    GetServerSocketsResponse::encode

    GetServersRequest

    pub(all) struct GetServersRequest {
    start_server_id : Int64
    max_results : Int64
    }

    GetServersRequest::decode

    GetServersRequest::encode

    fn GetServersRequest::encode(self : GetServersRequest) -> Bytes

    GetServersResponse

    pub(all) struct GetServersResponse {
    server : Array[Server]
    is_end : Bool
    }

    GetServersResponse::decode

    GetServersResponse::encode

    fn GetServersResponse::encode(self : GetServersResponse) -> Bytes

    GetSocketRequest

    pub(all) struct GetSocketRequest {
    socket_id : Int64
    summary : Bool
    }

    GetSocketRequest::decode

    GetSocketRequest::encode

    fn GetSocketRequest::encode(self : GetSocketRequest) -> Bytes

    GetSocketResponse

    pub(all) struct GetSocketResponse {
    socket : Socket
    }

    GetSocketResponse::decode

    GetSocketResponse::encode

    fn GetSocketResponse::encode(self : GetSocketResponse) -> Bytes

    GetSubchannelRequest

    pub(all) struct GetSubchannelRequest {
    subchannel_id : Int64
    }

    GetSubchannelRequest::decode

    GetSubchannelRequest::encode

    fn GetSubchannelRequest::encode(self : GetSubchannelRequest) -> Bytes

    GetSubchannelResponse

    pub(all) struct GetSubchannelResponse {
    subchannel : Subchannel
    }

    GetSubchannelResponse::decode

    GetSubchannelResponse::encode

    fn GetSubchannelResponse::encode(self : GetSubchannelResponse) -> Bytes

    GetTopChannelsRequest

    pub(all) struct GetTopChannelsRequest {
    start_channel_id : Int64
    max_results : Int64
    }

    GetTopChannelsRequest::decode

    GetTopChannelsRequest::encode

    fn GetTopChannelsRequest::encode(self : GetTopChannelsRequest) -> Bytes

    GetTopChannelsResponse

    pub(all) struct GetTopChannelsResponse {
    channel : Array[Channel]
    is_end : Bool
    }

    GetTopChannelsResponse::decode

    GetTopChannelsResponse::encode

    Server

    pub(all) struct Server {
    reference : ServerRef
    calls_started : Int64
    calls_succeeded : Int64
    calls_failed : Int64
    last_call_ms : Int64?
    listen_sockets : Array[SocketRef]
    }

    Server::empty

    fn Server::empty() -> Server

    ServerRef

    pub(all) struct ServerRef {
    id : Int64
    name : String
    }

    Socket

    pub(all) struct Socket {
    reference : SocketRef
    address : String
    streams_started : Int64
    streams_succeeded : Int64
    streams_failed : Int64
    messages_sent : Int64
    messages_received : Int64
    }

    Socket::empty

    fn Socket::empty() -> Socket

    SocketRef

    pub(all) struct SocketRef {
    id : Int64
    name : String
    }

    Subchannel

    pub(all) struct Subchannel {
    reference : SubchannelRef
    state : Int
    target : String
    calls_started : Int64
    calls_succeeded : Int64
    calls_failed : Int64
    channel_refs : Array[ChannelRef]
    subchannel_refs : Array[SubchannelRef]
    socket_refs : Array[SocketRef]
    }

    Subchannel::empty

    fn Subchannel::empty() -> Subchannel

    SubchannelRef

    pub(all) struct SubchannelRef {
    id : Int64
    name : String
    }

    any_file

    google/protobuf/any.proto.

    channel_path

    let channel_path : String

    descriptor

    The grpc/channelz/v1/channelz.proto descriptor: every message, the two nested enums, the three oneofs, and the seven methods of Channelz.

    duration_file

    google/protobuf/duration.proto.

    server_path

    let server_path : String

    server_sockets_path

    let server_sockets_path : String

    servers_path

    let servers_path : String

    socket_path

    let socket_path : String

    subchannel_path

    let subchannel_path : String

    timestamp_file

    google/protobuf/timestamp.proto.

    top_channels_path

    let top_channels_path : String

    well_known_files

    Every dependency file, in the order channelz.proto imports them.

    wrappers_file

    google/protobuf/wrappers.proto, with the two wrappers channelz uses.