This section is empty.


This section is empty.


func FileDescriptorSet

func FileDescriptorSet() *descriptor.FileDescriptorSet

FileDescriptorSet returns a descriptor set for this proto package, which includes all defined services, and all transitive dependencies.

Will not return nil.

Do NOT modify the returned descriptor.

func RegisterGreeterServer

func RegisterGreeterServer(s prpc.Registrar, srv GreeterServer)


type GreeterClient

type GreeterClient interface {
	SayHi(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)

GreeterClient is the client API for Greeter service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to

func NewGreeterClient

func NewGreeterClient(cc grpc.ClientConnInterface) GreeterClient

func NewGreeterPRPCClient

func NewGreeterPRPCClient(client *prpc.Client) GreeterClient

type GreeterServer

type GreeterServer interface {
	SayHi(context.Context, *empty.Empty) (*empty.Empty, error)

GreeterServer is the server API for Greeter service.

type UnimplementedGreeterServer

type UnimplementedGreeterServer struct {

UnimplementedGreeterServer can be embedded to have forward compatible implementations.

func (*UnimplementedGreeterServer) SayHi