module
Version:
v0.0.0-...-769d491
Opens a new window with list of versions in this module.
Published: Jun 20, 2019
License: Apache-2.0
Opens a new window with license information.
README
¶
Identity
This is an implementation of the Identity service that is based on the Bolt key/value store. It implements the interface:
// Identity defines the API for services that track mappings between internal and external IDs
type Identity interface {
BumpEra() error
ReadEra() (era int64, err error)
Associate(internalID string, externalID string) error
GetExternal(internalID string) (string, error)
GetInternal(externalID string) (string, error)
PurgeExternal(externalID string) error
PurgeInternal(internalID string) error
RemoveExternal(externalID string) error
RemoveInternal(internalID string) error
Search(internalIDPrefix string) (px.List, error)
Sweep(internalIDPrefix string) error
Garbage() (px.List, error)
}
Directories
¶
Click to show internal directories.
Click to hide internal directories.