Documentation ¶
Overview ¶
Package mock_client is a generated GoMock package.
Index ¶
- type MockAccountClient
- type MockAccountClientMockRecorder
- type MockBlockClient
- type MockBlockClientMockRecorder
- type MockChainClient
- func (m *MockChainClient) EXPECT() *MockChainClientMockRecorder
- func (m *MockChainClient) GeMetaByHeight(arg0 int64) (*chainpb.GetMetaByHeightResponse, error)
- func (m *MockChainClient) GeStatus() (*chainpb.GetStatusResponse, error)
- func (m *MockChainClient) GetHead() (*chainpb.GetHeadResponse, error)
- type MockChainClientMockRecorder
- type MockStateClient
- type MockStateClientMockRecorder
- type MockTransactionClient
- type MockTransactionClientMockRecorder
- type MockValidatorClient
- type MockValidatorClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAccountClient ¶
type MockAccountClient struct {
// contains filtered or unexported fields
}
MockAccountClient is a mock of AccountClient interface
func NewMockAccountClient ¶
func NewMockAccountClient(ctrl *gomock.Controller) *MockAccountClient
NewMockAccountClient creates a new mock instance
func (*MockAccountClient) EXPECT ¶
func (m *MockAccountClient) EXPECT() *MockAccountClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAccountClient) GetByAddress ¶
func (m *MockAccountClient) GetByAddress(arg0 string, arg1 int64) (*accountpb.GetByAddressResponse, error)
GetByAddress mocks base method
type MockAccountClientMockRecorder ¶
type MockAccountClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountClientMockRecorder is the mock recorder for MockAccountClient
func (*MockAccountClientMockRecorder) GetByAddress ¶
func (mr *MockAccountClientMockRecorder) GetByAddress(arg0, arg1 interface{}) *gomock.Call
GetByAddress indicates an expected call of GetByAddress
type MockBlockClient ¶
type MockBlockClient struct {
// contains filtered or unexported fields
}
MockBlockClient is a mock of BlockClient interface
func NewMockBlockClient ¶
func NewMockBlockClient(ctrl *gomock.Controller) *MockBlockClient
NewMockBlockClient creates a new mock instance
func (*MockBlockClient) EXPECT ¶
func (m *MockBlockClient) EXPECT() *MockBlockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBlockClient) GetByHeight ¶
func (m *MockBlockClient) GetByHeight(arg0 int64) (*blockpb.GetByHeightResponse, error)
GetByHeight mocks base method
type MockBlockClientMockRecorder ¶
type MockBlockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockBlockClientMockRecorder is the mock recorder for MockBlockClient
func (*MockBlockClientMockRecorder) GetByHeight ¶
func (mr *MockBlockClientMockRecorder) GetByHeight(arg0 interface{}) *gomock.Call
GetByHeight indicates an expected call of GetByHeight
type MockChainClient ¶
type MockChainClient struct {
// contains filtered or unexported fields
}
MockChainClient is a mock of ChainClient interface
func NewMockChainClient ¶
func NewMockChainClient(ctrl *gomock.Controller) *MockChainClient
NewMockChainClient creates a new mock instance
func (*MockChainClient) EXPECT ¶
func (m *MockChainClient) EXPECT() *MockChainClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockChainClient) GeMetaByHeight ¶
func (m *MockChainClient) GeMetaByHeight(arg0 int64) (*chainpb.GetMetaByHeightResponse, error)
GeMetaByHeight mocks base method
func (*MockChainClient) GeStatus ¶
func (m *MockChainClient) GeStatus() (*chainpb.GetStatusResponse, error)
GeStatus mocks base method
func (*MockChainClient) GetHead ¶
func (m *MockChainClient) GetHead() (*chainpb.GetHeadResponse, error)
GetHead mocks base method
type MockChainClientMockRecorder ¶
type MockChainClientMockRecorder struct {
// contains filtered or unexported fields
}
MockChainClientMockRecorder is the mock recorder for MockChainClient
func (*MockChainClientMockRecorder) GeMetaByHeight ¶
func (mr *MockChainClientMockRecorder) GeMetaByHeight(arg0 interface{}) *gomock.Call
GeMetaByHeight indicates an expected call of GeMetaByHeight
func (*MockChainClientMockRecorder) GeStatus ¶
func (mr *MockChainClientMockRecorder) GeStatus() *gomock.Call
GeStatus indicates an expected call of GeStatus
func (*MockChainClientMockRecorder) GetHead ¶
func (mr *MockChainClientMockRecorder) GetHead() *gomock.Call
GetHead indicates an expected call of GetHead
type MockStateClient ¶
type MockStateClient struct {
// contains filtered or unexported fields
}
MockStateClient is a mock of StateClient interface
func NewMockStateClient ¶
func NewMockStateClient(ctrl *gomock.Controller) *MockStateClient
NewMockStateClient creates a new mock instance
func (*MockStateClient) EXPECT ¶
func (m *MockStateClient) EXPECT() *MockStateClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStateClient) GetByHeight ¶
func (m *MockStateClient) GetByHeight(arg0 int64) (*statepb.GetByHeightResponse, error)
GetByHeight mocks base method
func (*MockStateClient) GetStakingByHeight ¶
func (m *MockStateClient) GetStakingByHeight(arg0 int64) (*statepb.GetStakingByHeightResponse, error)
GetStakingByHeight mocks base method
type MockStateClientMockRecorder ¶
type MockStateClientMockRecorder struct {
// contains filtered or unexported fields
}
MockStateClientMockRecorder is the mock recorder for MockStateClient
func (*MockStateClientMockRecorder) GetByHeight ¶
func (mr *MockStateClientMockRecorder) GetByHeight(arg0 interface{}) *gomock.Call
GetByHeight indicates an expected call of GetByHeight
func (*MockStateClientMockRecorder) GetStakingByHeight ¶
func (mr *MockStateClientMockRecorder) GetStakingByHeight(arg0 interface{}) *gomock.Call
GetStakingByHeight indicates an expected call of GetStakingByHeight
type MockTransactionClient ¶
type MockTransactionClient struct {
// contains filtered or unexported fields
}
MockTransactionClient is a mock of TransactionClient interface
func NewMockTransactionClient ¶
func NewMockTransactionClient(ctrl *gomock.Controller) *MockTransactionClient
NewMockTransactionClient creates a new mock instance
func (*MockTransactionClient) EXPECT ¶
func (m *MockTransactionClient) EXPECT() *MockTransactionClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTransactionClient) GetByHeight ¶
func (m *MockTransactionClient) GetByHeight(arg0 int64) (*transactionpb.GetByHeightResponse, error)
GetByHeight mocks base method
type MockTransactionClientMockRecorder ¶
type MockTransactionClientMockRecorder struct {
// contains filtered or unexported fields
}
MockTransactionClientMockRecorder is the mock recorder for MockTransactionClient
func (*MockTransactionClientMockRecorder) GetByHeight ¶
func (mr *MockTransactionClientMockRecorder) GetByHeight(arg0 interface{}) *gomock.Call
GetByHeight indicates an expected call of GetByHeight
type MockValidatorClient ¶
type MockValidatorClient struct {
// contains filtered or unexported fields
}
MockValidatorClient is a mock of ValidatorClient interface
func NewMockValidatorClient ¶
func NewMockValidatorClient(ctrl *gomock.Controller) *MockValidatorClient
NewMockValidatorClient creates a new mock instance
func (*MockValidatorClient) EXPECT ¶
func (m *MockValidatorClient) EXPECT() *MockValidatorClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockValidatorClient) GetByHeight ¶
func (m *MockValidatorClient) GetByHeight(arg0 int64) (*validatorpb.GetByHeightResponse, error)
GetByHeight mocks base method
type MockValidatorClientMockRecorder ¶
type MockValidatorClientMockRecorder struct {
// contains filtered or unexported fields
}
MockValidatorClientMockRecorder is the mock recorder for MockValidatorClient
func (*MockValidatorClientMockRecorder) GetByHeight ¶
func (mr *MockValidatorClientMockRecorder) GetByHeight(arg0 interface{}) *gomock.Call
GetByHeight indicates an expected call of GetByHeight