mocks

package
v0.3.0-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 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 MockCache

type MockCache struct {
	mock.Mock
}

func (*MockCache) Delete

func (m *MockCache) Delete(key string)

func (*MockCache) Get

func (m *MockCache) Get(key string) any

func (*MockCache) Set

func (m *MockCache) Set(key string, value any, ttl time.Duration)

func (*MockCache) Start

func (m *MockCache) Start()

func (*MockCache) Stop

func (m *MockCache) Stop()

Jump to

Keyboard shortcuts

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