testutil

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 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 Noop

type Noop struct{}

func (Noop) Delete

func (Noop) Delete(context.Context, string) error

func (Noop) Get

func (Noop) GetBytes

func (Noop) GetBytes(context.Context, string) ([]byte, error)

func (Noop) GetInt64

func (Noop) GetInt64(context.Context, string) (int64, error)

func (Noop) GetJSON

func (Noop) GetJSON(context.Context, string, interface{}) error

func (Noop) GetJSONWithTTL

func (Noop) GetJSONWithTTL(context.Context, string, interface{}) (cache.LookupMeta, error)

func (Noop) GetWithTTL

func (Noop) HDel

func (Noop) HGet

func (Noop) HGetAll

func (Noop) HGetAll(context.Context, string) (map[string]string, error)

func (Noop) HGetAllMulti

func (Noop) HGetAllMulti(_ context.Context, keys []string) ([]map[string]string, error)

func (Noop) HIncrBy

func (Noop) HIncrBy(context.Context, string, string, int64) (int64, error)

func (Noop) HSet

func (Noop) Incr

func (Noop) Incr(context.Context, string) (int64, error)

func (Noop) MGetBytes

func (Noop) MGetBytes(_ context.Context, keys ...string) ([][]byte, error)

func (Noop) ReleaseRefreshLock

func (Noop) ReleaseRefreshLock(context.Context, string, string) error

func (Noop) Set

func (Noop) SetInt64

func (Noop) SetInt64(context.Context, string, int64) error

func (Noop) SetJSON

func (Noop) SetJSON(context.Context, string, interface{}) error

func (Noop) SetTTL

func (Noop) SetTTL(context.Context, string, int64) error

func (Noop) SetTimed

func (Noop) SetTimed(context.Context, string, string, int64) error

func (Noop) SetTimedInt64

func (Noop) SetTimedInt64(context.Context, string, int64, int64) error

func (Noop) SetTimedJSON

func (Noop) SetTimedJSON(context.Context, string, interface{}, int64, ...cache.TimedOption) error

func (Noop) SetTimedJSONBatch

func (Noop) SetTimedJSONBatch(context.Context, []string, []interface{}, int64, ...cache.TimedOption) error

func (Noop) SetTimedJSONNX

func (Noop) SetTimedJSONNX(context.Context, string, interface{}, int64, ...cache.TimedOption) (bool, error)

func (Noop) TryAcquireRefreshLock

func (Noop) TryAcquireRefreshLock(context.Context, string, string, time.Duration) (bool, error)

func (Noop) XAdd

func (Noop) XAdd(context.Context, string, int64, bool, map[string]interface{}) error

func (Noop) ZAdd

func (Noop) ZAddBatch

func (Noop) ZRem

func (Noop) ZRem(context.Context, string, ...string) error

func (Noop) ZRevRangeByScore

func (Noop) ZRevRangeByScore(context.Context, string, string, string, int64, int64) ([]string, error)

Jump to

Keyboard shortcuts

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