Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHealthServer ¶
type MockHealthServer struct{}
MockHealthServer is a mock implementation for health check server
func NewMockHealthServer ¶
func NewMockHealthServer() *MockHealthServer
NewMockHealthServer is a constructor for MockHealthServer type
func (*MockHealthServer) Check ¶
func (c *MockHealthServer) Check(context.Context, *grpc_health_v1.HealthCheckRequest) (*grpc_health_v1.HealthCheckResponse, error)
Check is mock implementation for health check function
func (*MockHealthServer) Watch ¶
func (c *MockHealthServer) Watch(*grpc_health_v1.HealthCheckRequest, grpc_health_v1.Health_WatchServer) error
Watch is mock implementation for health check function
Click to show internal directories.
Click to hide internal directories.