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 Backend ¶
type Backend interface { repo.Backend catfs.FsBackend netBackend.Backend eventsBackend.Backend }
Backend is a amalgamation of all backend interfaces required for brig to work.
type VersionInfo ¶
VersionInfo is a small interface that will return version info about the backend.
func Version ¶
func Version(name, path string) VersionInfo
Version returns version info for the backend `name`.
Click to show internal directories.
Click to hide internal directories.