association

package
v0.0.0-...-4d6605a Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

func IsInvalidMetadata

func IsInvalidMetadata(err error) bool

Types

type Association

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

func New

func New(config Config) (*Association, error)

func (*Association) Create

func (a *Association) Create(clk *key.Key, usi string) error

func (*Association) Exists

func (a *Association) Exists(clk *key.Key) (bool, error)

func (*Association) Search

func (a *Association) Search(clk *key.Key) (string, error)

type Config

type Config struct {
	Logger logger.Interface
	Redigo redigo.Interface
}

Jump to

Keyboard shortcuts

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