Documentation ¶
Index ¶
- Constants
- func AddItemChild(item string, child string) error
- func Assign(item string, userId string) error
- func BatchQuery(t ItemType, userIdSet []string) ([][]string, error)
- func CheckAccess(item string, userId string) (bool, error)
- func Configure(options *Opts)
- func LoadChildren(name string) ([]item, error)
- func LoadItem(name string) (*item, error)
- func NewItem(t ItemType, name string) *item
- func Query(t ItemType, userId string) ([]string, error)
- func RemoveItemChild(item string, child string) error
- func Revoke(item string, userId string) error
- func Sync(userId string, items []string) error
- type ItemType
- type Opts
Constants ¶
View Source
const MaxCheckRecursionLevel int = 3
Variables ¶
This section is empty.
Functions ¶
func AddItemChild ¶
func LoadChildren ¶
func RemoveItemChild ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.