cache

package
v0.0.1-alpha1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticationCache

type AuthenticationCache struct {
	Cache gcache.Cache
}

func NewAuthenticationCache

func NewAuthenticationCache(conf *config.Config) *AuthenticationCache

func (AuthenticationCache) Get

func (m AuthenticationCache) Get(keyId, nonce string) map[string]string

func (AuthenticationCache) Remove

func (m AuthenticationCache) Remove(keyId, nonce string) bool

func (AuthenticationCache) Set

func (m AuthenticationCache) Set(keyId, nonce string, sigAuthParts map[string]string) error

Jump to

Keyboard shortcuts

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