Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { pbs.UnimplementedHealthServiceServer // contains filtered or unexported fields }
func NewService ¶
func NewService() *Service
func (*Service) GetHealth ¶
func (s *Service) GetHealth(ctx context.Context, req *pbs.GetHealthRequest) (*pbs.GetHealthResponse, error)
func (*Service) StartServiceUnavailableReplies ¶
func (s *Service) StartServiceUnavailableReplies()
StartServiceUnavailableReplies gets returned to the caller of NewService. When invoked, we start responding to any health queries with a 503.
Click to show internal directories.
Click to hide internal directories.