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 }
func NewServer ¶
func NewServer(ck healthcheck.Checker) *Server
func (*Server) Check ¶
func (s *Server) Check(ctx context.Context, req *grpc_health_v1.HealthCheckRequest) (*grpc_health_v1.HealthCheckResponse, error)
func (*Server) Watch ¶
func (s *Server) Watch(req *grpc_health_v1.HealthCheckRequest, stream grpc_health_v1.Health_WatchServer) error
Click to show internal directories.
Click to hide internal directories.