health

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker struct {
	// contains filtered or unexported fields
}

func NewChecker

func NewChecker(conn *grpc.ClientConn) *Checker

func (*Checker) Check

func (c *Checker) Check(ctx context.Context) error

type Health

type Health struct {
	// contains filtered or unexported fields
}

func NewHealth

func NewHealth() *Health

func NewHealthWithOptions

func NewHealthWithOptions(options *Options) *Health

func (*Health) Register

func (i *Health) Register(ctx context.Context, conn *grpc.ClientConn) error

type Options

type Options struct {
	Name        string
	Enabled     bool
	Description string
	Required    bool
}

func NewOptions

func NewOptions() (*Options, error)

func NewOptionsWithPath

func NewOptionsWithPath(path string) (opts *Options, err error)

Jump to

Keyboard shortcuts

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