health

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is a health provider set

Functions

This section is empty.

Types

type IBiz

type IBiz interface {
	Readiness(ctx contextx.Contextx) (ok bool, err error)
	Liveness(ctx contextx.Contextx) (ok bool, err error)
}

IBiz describe health business service function

func CreateIBiz

func CreateIBiz(logger *zap.Logger, repo2 repo.IRepo) (IBiz, error)

func NewImpl

func NewImpl(logger *zap.Logger, healthRepo repo.IRepo) IBiz

NewImpl is a constructor of implement business with parameters

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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