cache

package
v0.0.0-...-a915469 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMiss = errors.New("cache miss")
)

Functions

This section is empty.

Types

type Cache

type Cache interface {
	HomeServer
}

Cache represents a cache.

type HomeServer

type HomeServer interface {
	DeleteHomeServer(ctx context.Context, domain string) error
	GetHomeServer(ctx context.Context, domain string) (string, error)
	SetHomeServer(ctx context.Context, domain, homeServer string, expiration int) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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