cache

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2020 License: MPL-2.0, MPL-2.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 DebugEvent

type DebugEvent struct {
	Type  DebugEventType
	Key   interface{}
	Value interface{}
}

type DebugEventType

type DebugEventType string
const (
	MissEvent  DebugEventType = "Miss"
	HitEvent   DebugEventType = "Hit"
	WriteEvent DebugEventType = "Write"
)

type DebugLog

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

func (*DebugLog) Add

func (l *DebugLog) Add(eventType DebugEventType, key, value interface{})

func (*DebugLog) All

func (l *DebugLog) All() []DebugEvent

func (*DebugLog) Len

func (l *DebugLog) Len() int

Jump to

Keyboard shortcuts

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