null

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: LGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Null

type Null struct{}

Null is empty/stub cache client, usable for testing

func New

func New() *Null

New creates new stub client

func (*Null) Get

func (c *Null) Get(_ interface{}) interface{}

Get does nothing

func (*Null) Has

func (c *Null) Has(_ interface{}) bool

Has does nothing

func (*Null) Purge

func (c *Null) Purge()

Purge does nothing

func (*Null) Remove

func (c *Null) Remove(_ interface{})

Remove does nothing

func (*Null) Set

func (c *Null) Set(_ interface{}, _ interface{})

Set does nothing

Jump to

Keyboard shortcuts

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