Documentation ¶
Overview ¶
Package mock_service is a generated GoMock package.
Index ¶
- type MockServicer
- func (m *MockServicer) EXPECT() *MockServicerMockRecorder
- func (m *MockServicer) GenerateToken(ctx context.Context, key, secret string) (string, string, int64, error)
- func (m *MockServicer) Health(ctx context.Context) (health.Health, error)
- func (m *MockServicer) ParseToken(tokenString string) (string, error)
- func (m *MockServicer) Ready(ctx context.Context) error
- type MockServicerMockRecorder
- func (mr *MockServicerMockRecorder) GenerateToken(ctx, key, secret interface{}) *gomock.Call
- func (mr *MockServicerMockRecorder) Health(ctx interface{}) *gomock.Call
- func (mr *MockServicerMockRecorder) ParseToken(tokenString interface{}) *gomock.Call
- func (mr *MockServicerMockRecorder) Ready(ctx interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockServicer ¶
type MockServicer struct {
// contains filtered or unexported fields
}
MockServicer is a mock of Servicer interface.
func NewMockServicer ¶
func NewMockServicer(ctrl *gomock.Controller) *MockServicer
NewMockServicer creates a new mock instance.
func (*MockServicer) EXPECT ¶
func (m *MockServicer) EXPECT() *MockServicerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockServicer) GenerateToken ¶
func (m *MockServicer) GenerateToken(ctx context.Context, key, secret string) (string, string, int64, error)
GenerateToken mocks base method.
func (*MockServicer) ParseToken ¶
func (m *MockServicer) ParseToken(tokenString string) (string, error)
ParseToken mocks base method.
type MockServicerMockRecorder ¶
type MockServicerMockRecorder struct {
// contains filtered or unexported fields
}
MockServicerMockRecorder is the mock recorder for MockServicer.
func (*MockServicerMockRecorder) GenerateToken ¶
func (mr *MockServicerMockRecorder) GenerateToken(ctx, key, secret interface{}) *gomock.Call
GenerateToken indicates an expected call of GenerateToken.
func (*MockServicerMockRecorder) Health ¶
func (mr *MockServicerMockRecorder) Health(ctx interface{}) *gomock.Call
Health indicates an expected call of Health.
func (*MockServicerMockRecorder) ParseToken ¶
func (mr *MockServicerMockRecorder) ParseToken(tokenString interface{}) *gomock.Call
ParseToken indicates an expected call of ParseToken.
func (*MockServicerMockRecorder) Ready ¶
func (mr *MockServicerMockRecorder) Ready(ctx interface{}) *gomock.Call
Ready indicates an expected call of Ready.
Click to show internal directories.
Click to hide internal directories.