health

package
v0.0.0-...-7208f07 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: GPL-3.0 Imports: 6 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 IHealthBiz

type IHealthBiz interface {
	Readiness(ctx contextx.Contextx) error

	Liveness(ctx contextx.Contextx) error
}

IHealthBiz declare health business functions

func CreateIBiz

func CreateIBiz(logger *zap.Logger, repo2 repo.IHealthRepo) (IHealthBiz, error)

func NewImpl

func NewImpl(logger *zap.Logger, repo repo.IHealthRepo) IHealthBiz

NewImpl return IHealthBiz

type MockIHealthBiz

type MockIHealthBiz struct {
	mock.Mock
}

MockIHealthBiz is an autogenerated mock type for the IHealthBiz type

func NewMockIHealthBiz

func NewMockIHealthBiz(t mockConstructorTestingTNewMockIHealthBiz) *MockIHealthBiz

NewMockIHealthBiz creates a new instance of MockIHealthBiz. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*MockIHealthBiz) Liveness

func (_m *MockIHealthBiz) Liveness(ctx contextx.Contextx) error

Liveness provides a mock function with given fields: ctx

func (*MockIHealthBiz) Readiness

func (_m *MockIHealthBiz) Readiness(ctx contextx.Contextx) error

Readiness provides a mock function with given fields: ctx

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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