Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Greeter ¶
type Greeter struct { }
Greeter implement grpc GreeterServiceServer
func (*Greeter) SayHello ¶
func (s *Greeter) SayHello(ctx context.Context, req *pb.HelloRequest) (*pb.HelloReply, error)
SayHello name hello reply
func (*Greeter) SubscribeTime ¶
func (s *Greeter) SubscribeTime( req *pb.TimeRequest, stream pb.GreeterService_SubscribeTimeServer) error
SubscribeTime multiple current time reply
Click to show internal directories.
Click to hide internal directories.