mocks

package
v0.0.120 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage struct {
	mock.Mock
}

Storage is an autogenerated mock type for the storage type

func (*Storage) Get

func (_m *Storage) Get(ctx context.Context, key string) (string, error)

Get provides a mock function with given fields: ctx, key

func (*Storage) Set

func (_m *Storage) Set(ctx context.Context, key string, value interface{}, expiration time.Duration) error

Set provides a mock function with given fields: ctx, key, value, expiration

Jump to

Keyboard shortcuts

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