Documentation ¶
Overview ¶
Package mocksub is a generated GoMock package.
Index ¶
- type MockStorer
- func (m *MockStorer) Create(arg0 subscription.Subscription) error
- func (m *MockStorer) Delete(arg0 subscription.Subscription) error
- func (m *MockStorer) EXPECT() *MockStorerMockRecorder
- func (m *MockStorer) Query(arg0, arg1 int) ([]subscription.Subscription, error)
- func (m *MockStorer) QueryByID(arg0 uuid.UUID) (subscription.Subscription, error)
- func (m *MockStorer) WithinTran(arg0 func(subscription.Storer) error) error
- type MockStorerMockRecorder
- func (mr *MockStorerMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockStorerMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockStorerMockRecorder) Query(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStorerMockRecorder) QueryByID(arg0 interface{}) *gomock.Call
- func (mr *MockStorerMockRecorder) WithinTran(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStorer ¶
type MockStorer struct {
// contains filtered or unexported fields
}
MockStorer is a mock of Storer interface.
func NewMockStorer ¶
func NewMockStorer(ctrl *gomock.Controller) *MockStorer
NewMockStorer creates a new mock instance.
func (*MockStorer) Create ¶
func (m *MockStorer) Create(arg0 subscription.Subscription) error
Create mocks base method.
func (*MockStorer) Delete ¶
func (m *MockStorer) Delete(arg0 subscription.Subscription) error
Delete mocks base method.
func (*MockStorer) EXPECT ¶
func (m *MockStorer) EXPECT() *MockStorerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorer) Query ¶
func (m *MockStorer) Query(arg0, arg1 int) ([]subscription.Subscription, error)
Query mocks base method.
func (*MockStorer) QueryByID ¶
func (m *MockStorer) QueryByID(arg0 uuid.UUID) (subscription.Subscription, error)
QueryByID mocks base method.
func (*MockStorer) WithinTran ¶
func (m *MockStorer) WithinTran(arg0 func(subscription.Storer) error) error
WithinTran mocks base method.
type MockStorerMockRecorder ¶
type MockStorerMockRecorder struct {
// contains filtered or unexported fields
}
MockStorerMockRecorder is the mock recorder for MockStorer.
func (*MockStorerMockRecorder) Create ¶
func (mr *MockStorerMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockStorerMockRecorder) Delete ¶
func (mr *MockStorerMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockStorerMockRecorder) Query ¶
func (mr *MockStorerMockRecorder) Query(arg0, arg1 interface{}) *gomock.Call
Query indicates an expected call of Query.
func (*MockStorerMockRecorder) QueryByID ¶
func (mr *MockStorerMockRecorder) QueryByID(arg0 interface{}) *gomock.Call
QueryByID indicates an expected call of QueryByID.
func (*MockStorerMockRecorder) WithinTran ¶
func (mr *MockStorerMockRecorder) WithinTran(arg0 interface{}) *gomock.Call
WithinTran indicates an expected call of WithinTran.