Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShutdownClient ¶
func ShutdownClient(stop chan os.Signal, connection *grpc.ClientConn)
ShutdownClient gracefully
Types ¶
type Health ¶
type Health struct{}
Health struct
func (*Health) Check ¶
func (h *Health) Check(ctx context.Context, req *grpc_health_v1.HealthCheckRequest) (*grpc_health_v1.HealthCheckResponse, error)
Check is for HealthCheck
func (*Health) Watch ¶
func (h *Health) Watch(req *grpc_health_v1.HealthCheckRequest, w grpc_health_v1.Health_WatchServer) error
Watch is used by clients to get updates
Click to show internal directories.
Click to hide internal directories.