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 { SetObject(ctx context.Context, object *stategate.Object) error SaveEvent(ctx context.Context, event *stategate.Event) error GetObject(ctx context.Context, ref *stategate.ObjectRef) (*stategate.Object, error) SearchObjects(ctx context.Context, ref *stategate.SearchObjectOpts) (*stategate.Objects, error) SearchEvents(ctx context.Context, ref *stategate.SearchEventOpts) (*stategate.Events, error) Close() error }
func GetStorageProvider ¶
Click to show internal directories.
Click to hide internal directories.