Documentation
¶
Overview ¶
Package biz is the place where you can implements more complex business logic.
Package biz is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
ProviderSet is a Wire provider set used to declare dependency injection rules. Includes the NewBiz constructor to create a biz instance. wire.Bind binds the IBiz interface to the concrete implementation *biz, so places that depend on IBiz will automatically inject a *biz instance.
Functions ¶
Types ¶
type IBiz ¶
type IBiz interface {
// MinerSetV1 returns the MinerSetBiz business interface.
MinerSetV1() minersetv1.MinerSetBiz
// MinerV1 returns the MinerBiz business interface.
MinerV1() minerv1.MinerBiz
}
IBiz defines the methods that must be implemented by the business layer.
type MockIBiz ¶
type MockIBiz struct {
// contains filtered or unexported fields
}
MockIBiz is a mock of IBiz interface.
func NewMockIBiz ¶
func NewMockIBiz(ctrl *gomock.Controller) *MockIBiz
NewMockIBiz creates a new mock instance.
func (*MockIBiz) EXPECT ¶
func (m *MockIBiz) EXPECT() *MockIBizMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIBiz) MinerSetV1 ¶
func (m *MockIBiz) MinerSetV1() minerset.MinerSetBiz
MinerSetV1 mocks base method.
type MockIBizMockRecorder ¶
type MockIBizMockRecorder struct {
// contains filtered or unexported fields
}
MockIBizMockRecorder is the mock recorder for MockIBiz.
func (*MockIBizMockRecorder) MinerSetV1 ¶
func (mr *MockIBizMockRecorder) MinerSetV1() *gomock.Call
MinerSetV1 indicates an expected call of MinerSetV1.
func (*MockIBizMockRecorder) MinerV1 ¶
func (mr *MockIBizMockRecorder) MinerV1() *gomock.Call
MinerV1 indicates an expected call of MinerV1.