cache

package
v0.0.0-...-0f594a8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache interface {
	InstanceHostname
}

type Error

type Error error

Error represents a database specific error.

var (
	// ErrMiss is returned when there is a cache miss.
	ErrMiss Error = fmt.Errorf("cache iss")
)

type InstanceHostname

type InstanceHostname interface {
	DeleteInstanceHostname(ctx context.Context, domain string) Error
	GetInstanceHostname(ctx context.Context, domain string) (string, Error)
	SetInstanceHostname(ctx context.Context, domain, hostname 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