Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { grpc_health_v1.UnimplementedHealthServer // contains filtered or unexported fields }
Server implements gRPC grpc_health_v1.HealthServer.
func NewServer ¶
func NewServer(log *zerolog.Logger, b backend.Backend, hcCfg config.GRPCHealthCheckConfig) (*Server, error)
NewServer configures a new Server.
func (*Server) Check ¶
func (s *Server) Check(_ context.Context, _ *grpc_health_v1.HealthCheckRequest) (*grpc_health_v1.HealthCheckResponse, error)
Check implements grpc_health_v1.HealthServer.Check.
Click to show internal directories.
Click to hide internal directories.