cache

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 License: Apache-2.0 Imports: 5 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 {
	GetSecret(key SecretKey, account string) (string, bool)
	PutSecret(key SecretKey, account string, secret string)
	DeleteSecret(key SecretKey, account string)
	PutData(key DataKey, data []byte)
	GetData(key DataKey) ([]byte, bool)
}

func New

func New(s *system.System) Cache

type DataKey

type DataKey string

type SecretKey

type SecretKey string

Jump to

Keyboard shortcuts

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