Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockTokenService
- func (m *MockTokenService) EXPECT() *MockTokenServiceMockRecorder
- func (m *MockTokenService) New(arg0 int64, arg1 time.Duration) (string, error)
- func (m *MockTokenService) Revoke(arg0 context.Context, arg1 string) error
- func (m *MockTokenService) Validate(arg0 context.Context, arg1 string) (string, int64, error)
- type MockTokenServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTokenService ¶
type MockTokenService struct {
// contains filtered or unexported fields
}
MockTokenService is a mock of TokenService interface.
func NewMockTokenService ¶
func NewMockTokenService(ctrl *gomock.Controller) *MockTokenService
NewMockTokenService creates a new mock instance.
func (*MockTokenService) EXPECT ¶
func (m *MockTokenService) EXPECT() *MockTokenServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTokenServiceMockRecorder ¶
type MockTokenServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockTokenServiceMockRecorder is the mock recorder for MockTokenService.
func (*MockTokenServiceMockRecorder) New ¶
func (mr *MockTokenServiceMockRecorder) New(arg0, arg1 interface{}) *gomock.Call
New indicates an expected call of New.
func (*MockTokenServiceMockRecorder) Revoke ¶
func (mr *MockTokenServiceMockRecorder) Revoke(arg0, arg1 interface{}) *gomock.Call
Revoke indicates an expected call of Revoke.
func (*MockTokenServiceMockRecorder) Validate ¶
func (mr *MockTokenServiceMockRecorder) Validate(arg0, arg1 interface{}) *gomock.Call
Validate indicates an expected call of Validate.
Click to show internal directories.
Click to hide internal directories.