health

package
v1.10.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

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

type ICheckClient

type ICheckClient interface {
	IsAvailable() (bool, string)
}

func NewHealthCheckGrpcClient

func NewHealthCheckGrpcClient(grpcCon *grpc.ClientConn) ICheckClient

type MockHealthCheckClient

type MockHealthCheckClient struct {
	mock.Mock
}

func (*MockHealthCheckClient) IsAvailable

func (m *MockHealthCheckClient) IsAvailable() (bool, string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL