mocks

package
v0.0.0-...-7d69bf5 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenCache

type TokenCache struct {
	mock.Mock
}

TokenCache is an autogenerated mock type for the TokenCache type

func (*TokenCache) Add

func (_m *TokenCache) Add(clientID string, token string, expirationSeconds int)

Add provides a mock function with given fields: clientID, token, expirationSeconds

func (*TokenCache) Get

func (_m *TokenCache) Get(clientID string) (string, bool)

Get provides a mock function with given fields: clientID

func (*TokenCache) Remove

func (_m *TokenCache) Remove(clientID string)

Remove provides a mock function with given fields: clientID

Jump to

Keyboard shortcuts

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