Documentation ¶
Index ¶
Constants ¶
View Source
const ( Version = "v1" KeyName = "key" ReqName = "req" KeyPath = "/" + Version + "/" + KeyName ReqPath = "/" + Version + "/" + ReqName )
View Source
const ( MinKeySize = 1 MaxKeySize = 1024 )
Variables ¶
View Source
var ( ErrEmptyKeyName = errors.New("empty key name") ErrExistingKeyType = errors.New("invalid key type for existing key") ErrExistingKeyEncoding = errors.New("invalid key encoding for existing key") ErrInvalidKeyName = errors.New("invalid key name") ErrInvalidKeySize = errors.New("invalid key size") )
Functions ¶
func ApproveURL ¶
Types ¶
type Approvals ¶
type Approvals []Approval
func NewApprovals ¶
func NewApprovals(m types.ApprovalMap) (a Approvals)
type Key ¶
Click to show internal directories.
Click to hide internal directories.