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 *eventgate.Object) error SaveEvent(ctx context.Context, event *eventgate.Event) error GetObject(ctx context.Context, ref *eventgate.ObjectRef) (*eventgate.Object, error) SearchEvents(ctx context.Context, ref *eventgate.SearchOpts) (*eventgate.Events, error) Close() error }
func GetStorageProvider ¶ added in v0.1.0
type ProviderName ¶ added in v0.1.0
type ProviderName string
const (
MONGO_STORAGE ProviderName = "mongo"
)
Click to show internal directories.
Click to hide internal directories.