Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckClient ¶
type CheckClient struct {
// contains filtered or unexported fields
}
func (*CheckClient) IsAvailable ¶
func (c *CheckClient) IsAvailable() (bool, string)
type CheckServer ¶
type CheckServer struct { }
func NewHealthCheckGrpcServer ¶
func NewHealthCheckGrpcServer() *CheckServer
func (*CheckServer) Check ¶
func (c *CheckServer) Check(context.Context, *grpc_health_v1.HealthCheckRequest) (*grpc_health_v1.HealthCheckResponse, error)
func (*CheckServer) Watch ¶
func (c *CheckServer) Watch(_ *grpc_health_v1.HealthCheckRequest, server grpc_health_v1.Health_WatchServer) error
type ICheckClient ¶
func NewHealthCheckGrpcClient ¶
func NewHealthCheckGrpcClient(grpcCon *grpc.ClientConn) ICheckClient
type MockHealthCheckClient ¶
func (*MockHealthCheckClient) IsAvailable ¶
func (m *MockHealthCheckClient) IsAvailable() (bool, string)
Click to show internal directories.
Click to hide internal directories.