mock_service

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_service is a generated GoMock package.

Index

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

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) Health

func (m *MockServicer) Health(ctx context.Context) (health.Health, error)

Health mocks base method.

func (*MockServicer) ParseToken

func (m *MockServicer) ParseToken(tokenString string) (string, error)

ParseToken mocks base method.

func (*MockServicer) Ready

func (m *MockServicer) Ready(ctx context.Context) error

Ready 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL