mocks

package
v1.3.0 Latest Latest
Warning

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

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

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTokenService) New

func (m *MockTokenService) New(arg0 int64, arg1 time.Duration) (string, error)

New mocks base method.

func (*MockTokenService) Revoke

func (m *MockTokenService) Revoke(arg0 context.Context, arg1 string) error

Revoke mocks base method.

func (*MockTokenService) Validate

func (m *MockTokenService) Validate(arg0 context.Context, arg1 string) (string, int64, error)

Validate mocks base method.

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.

Jump to

Keyboard shortcuts

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