redistest

package
v4.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App mocks

func New

func New() *App

New create new instances

func (*App) Delete

func (a *App) Delete(context.Context, string) error

Delete mocks

func (*App) Exclusive

func (a *App) Exclusive(ctx context.Context, _ string, _ time.Duration, action func(context.Context) error) error

Exclusive mocks

func (*App) Load

func (a *App) Load(context.Context, string) (string, error)

Load mocks

func (*App) Ping

func (a *App) Ping() error

Ping mocks

func (*App) SetDelete

func (a *App) SetDelete(err error) *App

SetDelete mocks

func (*App) SetExclusive

func (a *App) SetExclusive(err error) *App

SetExclusive mocks

func (*App) SetLoad

func (a *App) SetLoad(content string, err error) *App

SetLoad mocks

func (*App) SetPing

func (a *App) SetPing(err error) *App

SetPing mocks

func (*App) SetStore

func (a *App) SetStore(err error) *App

SetStore mocks

func (*App) Store

Store mocks

Jump to

Keyboard shortcuts

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