cache

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 3 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 {
	Close() error
	Encrypt(plaintext string, potentialCiphertext []byte) ([]byte, bool, error)
	Decrypt(ciphertext []byte) (string, bool, error)
	Add(plaintext string, ciphertext []byte) error
}

func Setup

func Setup(config config.Config, mem bool) (Cache, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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