disabled

package
v1.0.128 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: GPL-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 Cacher

type Cacher struct {
}

Cacher is a mock implementation of p2p.Cacher interface

func (*Cacher) HasOrAdd

func (c *Cacher) HasOrAdd(_ []byte, _ interface{}, _ int) (ok, evicted bool)

HasOrAdd does nothing and returns (false, false)

func (*Cacher) IsInterfaceNil

func (c *Cacher) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

Jump to

Keyboard shortcuts

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