Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ActionCanNotFoundErr record not found error ActionCanNotFoundErr = errors.New("action not found") // RelationCanNotFoundErr record not found error RelationCanNotFoundErr = errors.New("relation not found") // EntityCanNotFoundErr record not found error EntityCanNotFoundErr = errors.New("entity not found") )
Functions ¶
This section is empty.
Types ¶
type Entity ¶
type Entity struct { Name string `json:"name"` Relations []Relation `json:"relations"` Actions []Action `json:"actions"` }
Entity -
type Leaf ¶
type Leaf struct { Exclusion bool `json:"exclusion"` Type LeafType `json:"type"` // tupleToUserSet or computedUserSet Value string `json:"value"` }
Leaf -
Click to show internal directories.
Click to hide internal directories.