Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func App ¶
func App(ra RpcApp, systemId string, conf configuration.Configuration)
func OptApp ¶
func OptApp(ra RpcApp, monitor bool, systemId string, conf configuration.Configuration) rpc
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 does the health check and changes the status of the server based on weather the app is ready or not.
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 receive updates when the service status changes. Watch only dummy implemented just to satisfy the interface.
Click to show internal directories.
Click to hide internal directories.