Documentation ¶
Overview ¶
Package mock_pb is a generated GoMock package.
Index ¶
- type MockAPIServiceClient
- func (m *MockAPIServiceClient) EXPECT() *MockAPIServiceClientMockRecorder
- func (m *MockAPIServiceClient) GetAccountState(arg0 context.Context, arg1 *pb.GetAccountStateRequest, arg2 ...grpc.CallOption) (*pb.GetAccountStateResponse, error)
- func (m *MockAPIServiceClient) GetNebState(arg0 context.Context, arg1 *pb.NonParamsRequest, arg2 ...grpc.CallOption) (*pb.GetNebStateResponse, error)
- func (m *MockAPIServiceClient) SendTransaction(arg0 context.Context, arg1 *pb.TransactionRequest, arg2 ...grpc.CallOption) (*pb.SendTransactionResponse, error)
- type MockAPIServiceClientMockRecorder
- func (mr *MockAPIServiceClientMockRecorder) GetAccountState(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockAPIServiceClientMockRecorder) GetNebState(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockAPIServiceClientMockRecorder) SendTransaction(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPIServiceClient ¶
type MockAPIServiceClient struct {
// contains filtered or unexported fields
}
MockAPIServiceClient is a mock of APIServiceClient interface
func NewMockAPIServiceClient ¶
func NewMockAPIServiceClient(ctrl *gomock.Controller) *MockAPIServiceClient
NewMockAPIServiceClient creates a new mock instance
func (*MockAPIServiceClient) EXPECT ¶
func (m *MockAPIServiceClient) EXPECT() *MockAPIServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAPIServiceClient) GetAccountState ¶
func (m *MockAPIServiceClient) GetAccountState(arg0 context.Context, arg1 *pb.GetAccountStateRequest, arg2 ...grpc.CallOption) (*pb.GetAccountStateResponse, error)
GetAccountState mocks base method
func (*MockAPIServiceClient) GetNebState ¶ added in v0.3.0
func (m *MockAPIServiceClient) GetNebState(arg0 context.Context, arg1 *pb.NonParamsRequest, arg2 ...grpc.CallOption) (*pb.GetNebStateResponse, error)
GetNebState mocks base method
func (*MockAPIServiceClient) SendTransaction ¶
func (m *MockAPIServiceClient) SendTransaction(arg0 context.Context, arg1 *pb.TransactionRequest, arg2 ...grpc.CallOption) (*pb.SendTransactionResponse, error)
SendTransaction mocks base method
type MockAPIServiceClientMockRecorder ¶
type MockAPIServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIServiceClientMockRecorder is the mock recorder for MockAPIServiceClient
func (*MockAPIServiceClientMockRecorder) GetAccountState ¶
func (mr *MockAPIServiceClientMockRecorder) GetAccountState(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetAccountState indicates an expected call of GetAccountState
func (*MockAPIServiceClientMockRecorder) GetNebState ¶ added in v0.3.0
func (mr *MockAPIServiceClientMockRecorder) GetNebState(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetNebState indicates an expected call of GetNebState
func (*MockAPIServiceClientMockRecorder) SendTransaction ¶
func (mr *MockAPIServiceClientMockRecorder) SendTransaction(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SendTransaction indicates an expected call of SendTransaction
Click to show internal directories.
Click to hide internal directories.