Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: github.com/anyproto/any-sync-node/nodesync/coldsync (interfaces: ColdSync)
Generated by this command:
mockgen -destination mock_coldsync/mock_coldsync.go github.com/anyproto/any-sync-node/nodesync/coldsync ColdSync
Package mock_coldsync is a generated GoMock package.
Index ¶
- type MockColdSync
- func (m *MockColdSync) ColdSyncHandle(arg0 *nodesyncproto.ColdSyncRequest, ...) error
- func (m *MockColdSync) EXPECT() *MockColdSyncMockRecorder
- func (m *MockColdSync) Init(arg0 *app.App) error
- func (m *MockColdSync) Name() string
- func (m *MockColdSync) Sync(arg0 context.Context, arg1, arg2 string) error
- type MockColdSyncMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockColdSync ¶
type MockColdSync struct {
// contains filtered or unexported fields
}
MockColdSync is a mock of ColdSync interface.
func NewMockColdSync ¶
func NewMockColdSync(ctrl *gomock.Controller) *MockColdSync
NewMockColdSync creates a new mock instance.
func (*MockColdSync) ColdSyncHandle ¶
func (m *MockColdSync) ColdSyncHandle(arg0 *nodesyncproto.ColdSyncRequest, arg1 nodesyncproto.DRPCNodeSync_ColdSyncStream) error
ColdSyncHandle mocks base method.
func (*MockColdSync) EXPECT ¶
func (m *MockColdSync) EXPECT() *MockColdSyncMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockColdSyncMockRecorder ¶
type MockColdSyncMockRecorder struct {
// contains filtered or unexported fields
}
MockColdSyncMockRecorder is the mock recorder for MockColdSync.
func (*MockColdSyncMockRecorder) ColdSyncHandle ¶
func (mr *MockColdSyncMockRecorder) ColdSyncHandle(arg0, arg1 any) *gomock.Call
ColdSyncHandle indicates an expected call of ColdSyncHandle.
func (*MockColdSyncMockRecorder) Init ¶
func (mr *MockColdSyncMockRecorder) Init(arg0 any) *gomock.Call
Init indicates an expected call of Init.
func (*MockColdSyncMockRecorder) Name ¶
func (mr *MockColdSyncMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
Click to show internal directories.
Click to hide internal directories.