Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ILogger ¶ added in v0.1.12
type ILogger interface {
// Printf prints the filename and key
Printf(format string, v ...interface{})
}
ILogger is simple interface to output filename and key.
type IPlugin ¶
type IPlugin interface {
// Read reads date from storage
Read(file, key string) ([]byte, error)
// Save saves date from storage
Save(file, key string, data []byte) error
// SetVersion sets the version of the data being used. The GIT branch name is the first candidate.
SetVersion(version string) error
// PreloadByVersion loads data by 1 request
PreloadByVersion() error
// VerboseMode sets up "verbose" mode
VerboseMode(bool)
}
Click to show internal directories.
Click to hide internal directories.