cache

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2021 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	// DeleteObject removes obj from cache.
	DeleteObject(obj *object.Object) error
	// Settings returns the provider-agnostic cache settings.
	Settings() *Settings
}

Provider defines the contract any cache provider must comply with.

type Settings

type Settings struct {
	// BaseURL is the prefix to the object key, such as "<scheme>://<host>[:<port>]/".
	BaseURL *string
}

Settings holds the provider-agnostic cache settings.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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