mocks

package
v0.0.0-...-982e07a Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenStorage

type TokenStorage struct {
	mock.Mock
}

TokenStorage is an autogenerated mock type for the TokenStorage type

func (*TokenStorage) Get

func (_m *TokenStorage) Get(id []byte, context common.TokenContext) ([]byte, error)

Get provides a mock function with given fields: id, context

func (*TokenStorage) Save

func (_m *TokenStorage) Save(id []byte, context common.TokenContext, data []byte) error

Save provides a mock function with given fields: id, context, data

func (*TokenStorage) VisitMetadata

func (_m *TokenStorage) VisitMetadata(cb func(dataLength int, metadata common.TokenMetadata) (common.TokenAction, error)) error

VisitMetadata provides a mock function with given fields: cb

Jump to

Keyboard shortcuts

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