memstore

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fixed

func Fixed(iss string, secret interface{}) chame.Store

func New

func New() chame.Store

Types

type MemStore

type MemStore struct {
	// contains filtered or unexported fields
}

func (*MemStore) Get

func (ms *MemStore) Get(iss string, kid string) interface{}

func (*MemStore) GetSigningKey

func (ms *MemStore) GetSigningKey(iss string, kid string) (interface{}, error)

func (*MemStore) GetVerifyingKey

func (ms *MemStore) GetVerifyingKey(iss string, kid string) (interface{}, error)

func (*MemStore) Set

func (ms *MemStore) Set(iss string, kid string, value interface{})

Jump to

Keyboard shortcuts

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