Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPI ¶
type MockAPI struct {
// contains filtered or unexported fields
}
MockAPI is a mock of API interface.
func NewMockAPI ¶
func NewMockAPI(ctrl *gomock.Controller) *MockAPI
NewMockAPI creates a new mock instance.
func (*MockAPI) Changes ¶
func (m *MockAPI) Changes(ctx context.Context, chainId string, opts ...celestials.ChangeOption) (celestials.Changes, error)
Changes mocks base method.
func (*MockAPI) EXPECT ¶
func (m *MockAPI) EXPECT() *MockAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAPIChangesCall ¶
MockAPIChangesCall wrap *gomock.Call
func (*MockAPIChangesCall) Do ¶
func (c *MockAPIChangesCall) Do(f func(context.Context, string, ...celestials.ChangeOption) (celestials.Changes, error)) *MockAPIChangesCall
Do rewrite *gomock.Call.Do
func (*MockAPIChangesCall) DoAndReturn ¶
func (c *MockAPIChangesCall) DoAndReturn(f func(context.Context, string, ...celestials.ChangeOption) (celestials.Changes, error)) *MockAPIChangesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPIChangesCall) Return ¶
func (c *MockAPIChangesCall) Return(arg0 celestials.Changes, arg1 error) *MockAPIChangesCall
Return rewrite *gomock.Call.Return
type MockAPIMockRecorder ¶
type MockAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIMockRecorder is the mock recorder for MockAPI.
func (*MockAPIMockRecorder) Changes ¶
func (mr *MockAPIMockRecorder) Changes(ctx, chainId any, opts ...any) *MockAPIChangesCall
Changes indicates an expected call of Changes.
Click to show internal directories.
Click to hide internal directories.