Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // DSN is the database source name to the SQLite. DSN string // Table is the table name for storing cache data. Default is "cache". Table string // Encoder is the encoder to encode cache data. Default is a Gob encoder. Encoder cache.Encoder // Decoder is the decoder to decode cache data. Default is a Gob decoder. Decoder cache.Decoder // InitTable indicates whether to create a default cache table when not exists automatically. InitTable bool // contains filtered or unexported fields }
Config contains options for the SQLite cache store.
Click to show internal directories.
Click to hide internal directories.