Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthServer ¶
type HealthServer struct {
grpc_health_v1.UnimplementedHealthServer
}
HealthServer implements gRPC health server.
func NewHealthServer ¶
func NewHealthServer() *HealthServer
func (*HealthServer) Check ¶
func (s *HealthServer) Check( context.Context, *grpc_health_v1.HealthCheckRequest, ) (*grpc_health_v1.HealthCheckResponse, error)
func (*HealthServer) Register ¶
func (s *HealthServer) Register(srv *grpc.Server)
Click to show internal directories.
Click to hide internal directories.