Documentation ¶
Index ¶
- func Check(ctx context.Context, service services.IPermissionService, ...) (res commands.CheckResponse, err errors.Error)
- func DeleteTuple(ctx context.Context, service services.IRelationshipService, tuple tuple.Tuple) (err errors.Error)
- func ReadSchema(ctx context.Context, manager managers.IEntityConfigManager, version string) (sch schema.Schema, err errors.Error)
- func ReadTuple(ctx context.Context, service services.IRelationshipService, ...) (tuples []tuple.Tuple, err errors.Error)
- func WriteSchema(ctx context.Context, manager managers.IEntityConfigManager, configs string) (version string, err errors.Error)
- func WriteTuple(ctx context.Context, service services.IRelationshipService, tuple tuple.Tuple, ...) (err errors.Error)
- type CheckQuery
- type Development
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Check ¶
func Check(ctx context.Context, service services.IPermissionService, subject tuple.Subject, action string, entity tuple.Entity, version string) (res commands.CheckResponse, err errors.Error)
Check -
func DeleteTuple ¶
func DeleteTuple(ctx context.Context, service services.IRelationshipService, tuple tuple.Tuple) (err errors.Error)
DeleteTuple -
func ReadSchema ¶
func ReadSchema(ctx context.Context, manager managers.IEntityConfigManager, version string) (sch schema.Schema, err errors.Error)
ReadSchema -
func ReadTuple ¶
func ReadTuple(ctx context.Context, service services.IRelationshipService, filter filters.RelationTupleFilter) (tuples []tuple.Tuple, err errors.Error)
ReadTuple -
func WriteSchema ¶
func WriteSchema(ctx context.Context, manager managers.IEntityConfigManager, configs string) (version string, err errors.Error)
WriteSchema -
Types ¶
type CheckQuery ¶
CheckQuery -
type Development ¶ added in v0.4.0
type Development struct { P services.IPermissionService R services.IRelationshipService M managers.IEntityConfigManager }
Development -
Click to show internal directories.
Click to hide internal directories.