Documentation ¶
Overview ¶
Package di provides a mechanism to select storage providers. In a separate package so as to avoid an import cycle.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCannotResolveStorage = errors.New("failed to find a possible storage configuration")
)
Err* are sentinel errors
Functions ¶
func WireStorage ¶
WireStorage generates a storage engine from the Viper based configuration. Fails if there are no configuration values supplied.
Doesn't actually use wire (yet)
TODO: Rewrite this with the new configuration format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.