health

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is a provider set for wire

Functions

This section is empty.

Types

type IBiz

type IBiz interface {
	// Readiness to handle application has been ready
	Readiness(ctx contextx.Contextx) error

	// Liveness to handle application was alive
	Liveness(ctx contextx.Contextx) error
}

IBiz declare health biz service function

func CreateIBiz

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

CreateIBiz serve caller to create an IBiz

func NewImpl

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

NewImpl serve caller to create an IBiz

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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