Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GreeterService ¶
type GreeterService struct {
pb.UnimplementedGreeterServer
}
GreeterService is a greeter service.
func NewGreeterService ¶
func NewGreeterService() *GreeterService
NewGreeterService new a greeter service.
func (*GreeterService) SayHello ¶
func (s *GreeterService) SayHello(ctx context.Context, in *pb.HelloRequest) (*pb.HelloReply, error)
SayHello implements helloworld.GreeterServer
Click to show internal directories.
Click to hide internal directories.