identifier

package
v0.0.0-...-5f60b6e Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DEFAULTKEY = DEFAULTPREFIX + "-mYcgJKQhRpfFdYof"
View Source
var DEFAULTPREFIX = "xent"

Functions

This section is empty.

Types

type Identifier

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

func IdentifierFromKey

func IdentifierFromKey(key string) (*Identifier, error)

func IdentifierFromSecret

func IdentifierFromSecret(secret string) (*Identifier, error)

func IdentifierFromSecretAndKey

func IdentifierFromSecretAndKey(secret string, key string) (*Identifier, error)

func NewIdentifier

func NewIdentifier() (*Identifier, error)

func (*Identifier) GenerateNewKey

func (v *Identifier) GenerateNewKey() string

func (*Identifier) GenerateNewSecret

func (v *Identifier) GenerateNewSecret() (string, error)

func (*Identifier) ID

func (v *Identifier) ID() string

func (*Identifier) SetPrefix

func (v *Identifier) SetPrefix(prefix string)

Jump to

Keyboard shortcuts

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