Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Account ¶
type Account struct { ID string `json:"id"` Referrer string `json:"referrer"` Groups map[string]*Group `json:"groups"` Permissions map[string]*Permission `json:"permissions"` }
Account type of a permission tree
func NewInitAccount ¶ added in v1.1.0
NewInitAccount new account with owner and active
type Item ¶ added in v1.1.0
type Item struct { ID string `json:"id"` // key pair id Permission string `json:"permission"` IsKeyPair bool `json:"is_key_pair"` Weight int `json:"weight"` }
Item identity of a permission owner
type KeyPair ¶ added in v1.1.0
KeyPair account of the ios
func NewKeyPair ¶ added in v1.1.0
NewKeyPair create an account
Click to show internal directories.
Click to hide internal directories.