Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntityConfig ¶
type EntityConfig struct { Entity string SerializedConfig []byte Version string CommitTime time.Time }
EntityConfig -
type IEntityConfigRepository ¶
type IEntityConfigRepository interface { Migratable All(ctx context.Context, version string) (configs []EntityConfig, err error) Read(ctx context.Context, name string, version string) (config EntityConfig, err error) Write(ctx context.Context, configs []EntityConfig, version string) (err error) }
IEntityConfigRepository -
type IRelationTupleRepository ¶
type IRelationTupleRepository interface { Migratable QueryTuples(ctx context.Context, entityType string, entityID string, relation string) (tuple.ITupleIterator, error) ReverseQueryTuples(ctx context.Context, entity string, relation string, subjectEntity string, subjectIDs []string, subjectRelation string) (tuple.ITupleIterator, error) Read(ctx context.Context, filter *base.TupleFilter) (tuple.ITupleCollection, error) Write(context.Context, tuple.ITupleIterator) error Delete(context.Context, tuple.ITupleIterator) error }
IRelationTupleRepository -
Click to show internal directories.
Click to hide internal directories.