Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewImpl, repo.ProviderSet)
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.