Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
func NewProvider(system *actor.ActorSystem, uri persistence2.URI) (persistence.Provider, error)
func RegisterFactory ¶
func RegisterFactory(name string, factory func(system *actor.ActorSystem, uri *url.URL) (persistence2.Store, error)) error
RegisterFactory registers a store factory given its name.
func SupportedSchemes ¶
func SupportedSchemes() []string
Types ¶
type StoreFactory ¶
type StoreFactory func(system *actor.ActorSystem, uri *url.URL) (persistence2.Store, error)
type StoreRegistry ¶
type StoreRegistry map[string]StoreFactory
func (StoreRegistry) Get ¶
func (f StoreRegistry) Get(name string) (StoreFactory, error)
func (StoreRegistry) GetFromURI ¶
func (f StoreRegistry) GetFromURI(uri *url.URL) (StoreFactory, error)
Click to show internal directories.
Click to hide internal directories.