Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllProviderNames = []ProviderName{MONGO_STORAGE}
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { SetEntity(ctx context.Context, entity *stategate.Entity) *errorz.Error EditEntity(ctx context.Context, entity *stategate.Entity) (*stategate.Entity, *errorz.Error) SaveEvent(ctx context.Context, event *stategate.Event) *errorz.Error GetEntity(ctx context.Context, ref *stategate.EntityRef) (*stategate.Entity, *errorz.Error) DelEntity(ctx context.Context, ref *stategate.EntityRef) *errorz.Error SearchEntities(ctx context.Context, ref *stategate.SearchEntityOpts) (*stategate.Entities, *errorz.Error) SearchEvents(ctx context.Context, ref *stategate.SearchEventOpts) (*stategate.Events, *errorz.Error) GetEvent(ctx context.Context, ref *stategate.EventRef) (*stategate.Event, *errorz.Error) Close() error }
Click to show internal directories.
Click to hide internal directories.