Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoSuchBackend is returned when passing an invalid backend name ErrNoSuchBackend = errors.New("No such backend") )
Functions ¶
func ForwardLogByName ¶ added in v0.2.0
ForwardLogByName will forward the logs of the backend `name` to `w`.
func InitByName ¶
InitByName creates a new backend structure at `path` for the backend `name`
func IsValidName ¶
IsValidName tells you if `name` is a valid backend name.
Types ¶
type VersionInfo ¶
VersionInfo is a small interface that will return version info about the backend.
func Version ¶
func Version(name string) VersionInfo
Version returns version info for the backend `name`.
Click to show internal directories.
Click to hide internal directories.