Versions in this module Expand all Collapse all v1 v1.0.0 Dec 20, 2023 Changes in this version + const KeyName + const KeyPath + const MaxKeySize + const MinKeySize + const ReqName + const ReqPath + const Version + var ErrEmptyKeyName = errors.New("empty key name") + var ErrExistingKeyEncoding = errors.New("invalid key encoding for existing key") + var ErrExistingKeyType = errors.New("invalid key type for existing key") + var ErrInvalidKeyName = errors.New("invalid key name") + var ErrInvalidKeySize = errors.New("invalid key size") + func ApproveURL(id, aid string) string + type Approval struct + AID string + ID string + IP string + Name string + Status types.Status + type Approvals []Approval + func NewApprovals(m types.ApprovalMap) (a Approvals) + func (Approvals) Less(a, b Approval) int + func (a Approvals) Fields() string + func (a Approvals) Len() int + func (a Approvals) Sort() + func (a Approvals) Values() []string + type Key struct + Encoding core.Encoding + ID string + Key string + Name string + Size int + Type core.Type + func (k Key) Print(share string) (string, error) + type Keys []Key + func NewKeys(keys core.Keys) (k Keys) + func (Keys) Less(a, b Key) int + func (k Keys) Fields() string + func (k Keys) Len() int + func (k Keys) Sort() + func (k Keys) Values() []string + type NewKey struct + Encoding core.Encoding + Existing string + Name string + Size int + Type core.Type + func (nk NewKey) Validate() error