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)
Click to show internal directories.
Click to hide internal directories.