Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuth ¶
MockAuth is an autogenerated mock type for the Auth type
func (*MockAuth) EXPECT ¶
func (_m *MockAuth) EXPECT() *MockAuth_Expecter
type MockAuth_Expecter ¶
type MockAuth_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAuth_Expecter) GetByToken ¶
func (_e *MockAuth_Expecter) GetByToken(ctx interface{}, token interface{}) *MockAuth_GetByToken_Call
GetByToken is a helper method to define mock.On call
- ctx context.Context
- token string
type MockAuth_GetByToken_Call ¶
MockAuth_GetByToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByToken'
func (*MockAuth_GetByToken_Call) Return ¶
func (_c *MockAuth_GetByToken_Call) Return(_a0 model.User, _a1 error) *MockAuth_GetByToken_Call
func (*MockAuth_GetByToken_Call) Run ¶
func (_c *MockAuth_GetByToken_Call) Run(run func(ctx context.Context, token string)) *MockAuth_GetByToken_Call
type MockSubject ¶
MockSubject is an autogenerated mock type for the Subject type
func (*MockSubject) EXPECT ¶
func (_m *MockSubject) EXPECT() *MockSubject_Expecter
type MockSubject_Expecter ¶
type MockSubject_Expecter struct {
// contains filtered or unexported fields
}
func (*MockSubject_Expecter) Get ¶
func (_e *MockSubject_Expecter) Get(ctx interface{}, id interface{}) *MockSubject_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- id uint32
type MockSubject_Get_Call ¶
MockSubject_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockSubject_Get_Call) Return ¶
func (_c *MockSubject_Get_Call) Return(_a0 model.Subject, _a1 error) *MockSubject_Get_Call
func (*MockSubject_Get_Call) Run ¶
func (_c *MockSubject_Get_Call) Run(run func(ctx context.Context, id uint32)) *MockSubject_Get_Call
Click to show internal directories.
Click to hide internal directories.