development

package
v0.0.0-alpha5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2022 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

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 -

func WriteTuple

func WriteTuple(ctx context.Context, service services.IRelationshipService, tuple tuple.Tuple, version string) (err errors.Error)

WriteTuple -

Types

type CheckQuery

type CheckQuery struct {
	Subject tuple.Subject
	Action  string
	Entity  tuple.Entity
}

CheckQuery -

type Development added in v0.4.0

Development -

func NewDevelopment

func NewDevelopment() *Development

NewDevelopment -

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL