memory

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResolver

func NewResolver() resolver.IResolver

Types

type Entry

type Entry struct {
	Value   string
	Timeout time.Time
}

type Resolver

type Resolver struct {
	resolver.IResolver
	// contains filtered or unexported fields
}

func (Resolver) Get

func (r Resolver) Get(key string) (string, error)

func (Resolver) Set

func (r Resolver) Set(key string, val string, timeout int64) error

Jump to

Keyboard shortcuts

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