Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // Table options Table string // schema name + table.name FileCol string // character varying field for file name KeyCol string // character varying field for key ValCol string // BYTEA (binary) field for value VersionCol string // character varying field for version // Version string // value for version for current request series. Keep it empty if you don't use versions. // cache options UseCache bool // use or not use cache UsePreload bool // loads all data for the version from DB and saves them to cache. Useful for tests // Human-readable file name, it's false by default and plugin uses MD5 of file name. // The length of the file name depends on the length of the URL and can be very long. // Use HumanReadableFileName=true to prevent FileCol size error. HumanReadableFileName bool }
type PG ¶
func (*PG) PreloadByVersion ¶
PreloadByVersion loads all data for the version from DB and saves them to cache.
func (*PG) SetVersion ¶
func (*PG) VerboseMode ¶ added in v0.1.16
VerboseMode sets up "verbose" mode
Click to show internal directories.
Click to hide internal directories.