acme

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: AGPL-3.0 Imports: 6 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 struct {
	// contains filtered or unexported fields
}

func New

func New(db *pebble.DB) *Cache

func (*Cache) Delete

func (a *Cache) Delete(_ context.Context, key string) error

func (*Cache) Get

func (a *Cache) Get(_ context.Context, key string) (rs []byte, err error)

func (*Cache) Put

func (a *Cache) Put(_ context.Context, key string, data []byte) error

Jump to

Keyboard shortcuts

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