Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GreeterServer ¶
type GreeterServer struct{}
GreeterServer is the server API for Greeter service
func (*GreeterServer) SayHello ¶
func (s *GreeterServer) SayHello(ctx context.Context, in *pb.HelloRequest) (*pb.HelloReply, error)
SayHello implements helloworld.GreeterServer
type HealthServer ¶
type HealthServer struct{}
HealthServer is the health check API
func (*HealthServer) Check ¶
func (s *HealthServer) Check(ctx context.Context, in *healthpb.HealthCheckRequest) (*healthpb.HealthCheckResponse, error)
Check is used for health checks
func (*HealthServer) Watch ¶
func (s *HealthServer) Watch(in *healthpb.HealthCheckRequest, srv healthpb.Health_WatchServer) error
Watch is not implemented
Click to show internal directories.
Click to hide internal directories.