Documentation ¶
Index ¶
- func Action(name string, child *base.Child) *base.ActionDefinition
- func Actions(defs ...*base.ActionDefinition) []*base.ActionDefinition
- func ComputedUserSet(relation string, exclusion bool) *base.Child
- func Entity(name string, relations []*base.RelationDefinition, ...) *base.EntityDefinition
- func Intersection(children ...*base.Child) *base.Child
- func Reference(name string) *base.RelationReference
- func Relation(name string, references ...*base.RelationReference) *base.RelationDefinition
- func Relations(defs ...*base.RelationDefinition) []*base.RelationDefinition
- func Schema(entities ...*base.EntityDefinition) *base.SchemaDefinition
- func TupleToUserSet(reference, relation string, exclusion bool) *base.Child
- func Union(children ...*base.Child) *base.Child
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Action ¶
func Action(name string, child *base.Child) *base.ActionDefinition
Action - Action builder
func Actions ¶
func Actions(defs ...*base.ActionDefinition) []*base.ActionDefinition
Actions - Actions builder
func ComputedUserSet ¶
ComputedUserSet -
func Entity ¶
func Entity(name string, relations []*base.RelationDefinition, actions []*base.ActionDefinition) *base.EntityDefinition
Entity - Entity builder
func Relation ¶
func Relation(name string, references ...*base.RelationReference) *base.RelationDefinition
Relation - Relation builder
func Relations ¶
func Relations(defs ...*base.RelationDefinition) []*base.RelationDefinition
Relations - Relations builder
func Schema ¶
func Schema(entities ...*base.EntityDefinition) *base.SchemaDefinition
Schema - Schema builder
func TupleToUserSet ¶
TupleToUserSet -
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.