mocks

package
v0.0.0-...-5b70f3c Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: MIT Imports: 2 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) Delete

func (_m *Storage) Delete(key string) error

Delete provides a mock function with given fields: key

func (*Storage) Get

func (_m *Storage) Get(key string) ([]byte, error)

Get provides a mock function with given fields: key

func (*Storage) Set

func (_m *Storage) Set(key string, value []byte, ttl time.Duration) error

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

Jump to

Keyboard shortcuts

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