Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateStoresFromConfig ¶
func CreateStoresFromConfig(storesConfig config.StoresConfig, defaultPluginPath string) ([]referrerstore.ReferrerStore, error)
CreateStoresFromConfig creates a stores from the provided configuration
func Register ¶
func Register(name string, factory StoreFactory)
Types ¶
type StoreFactory ¶
type StoreFactory interface {
Create(version string, storesConfig config.StorePluginConfig) (referrerstore.ReferrerStore, error)
}
StoreFactory is an interface that defines methods to create a store
Click to show internal directories.
Click to hide internal directories.