biz

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: MIT Imports: 8 Imported by: 0

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

View Source
var ProviderSet = wire.NewSet(NewBiz, wire.Bind(new(IBiz), new(*biz)))

ProviderSet is biz providers.

Functions

func NewBiz

NewBiz returns IBiz interface.

Types

type IBiz

type IBiz interface {
	Miners() miner.MinerBiz
	MinerSets() minerset.MinerSetBiz
}

IBiz defines functions used to return resource interface.

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) MinerSets

func (m *MockIBiz) MinerSets() minerset.MinerSetBiz

MinerSets mocks base method.

func (*MockIBiz) Miners

func (m *MockIBiz) Miners() miner.MinerBiz

Miners mocks base method.

type MockIBizMockRecorder

type MockIBizMockRecorder struct {
	// contains filtered or unexported fields
}

MockIBizMockRecorder is the mock recorder for MockIBiz.

func (*MockIBizMockRecorder) MinerSets

func (mr *MockIBizMockRecorder) MinerSets() *gomock.Call

MinerSets indicates an expected call of MinerSets.

func (*MockIBizMockRecorder) Miners

func (mr *MockIBizMockRecorder) Miners() *gomock.Call

Miners indicates an expected call of Miners.

Directories

Path Synopsis
Package miner is a generated GoMock package.
Package miner is a generated GoMock package.
Package minerset is a generated GoMock package.
Package minerset is a generated GoMock package.

Jump to

Keyboard shortcuts

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