moonbitstack/moonrpc/examples/guide/annotation does not have a README file

    Greeter

    pub struct Greeter {
    }

    Greeter::register

    fn[R :
    Registrar
    ] Greeter::register(self : Greeter, server : R) -> Unit

    GreeterClient

    pub struct GreeterClient[C] {
    channel : C
    }

    GreeterClient::new

    fn[C] GreeterClient::new(channel : C) -> GreeterClient[C]

    GreeterClient::say_hello

    HelloReply

    pub struct HelloReply {
    message : String
    }

    HelloRequest

    pub struct HelloRequest {
    name : String
    }

    The guide's annotation variant: a message, a service and its method, all declared with #rpc. cmd/rpc writes service.g.mbt from this file.