Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyInfo ¶
type KeyInfo struct {
// contains filtered or unexported fields
}
func (*KeyInfo) Encryption ¶
func (info *KeyInfo) Encryption() *encryption.Encryption
func (*KeyInfo) Permission ¶
func (info *KeyInfo) Permission() *Permission
type Keyring ¶
type Keyring struct {
// contains filtered or unexported fields
}
func NewKeyring ¶
func NewKeyring() *Keyring
type Permission ¶
type Permission struct {
// contains filtered or unexported fields
}
func NewPermission ¶
func NewPermission() *Permission
func (*Permission) AddPermissions ¶
func (p *Permission) AddPermissions(permissions []string)
func (*Permission) Check ¶
func (p *Permission) Check(rule string) bool
func (*Permission) Reset ¶
func (p *Permission) Reset()
Click to show internal directories.
Click to hide internal directories.