Documentation
¶
Index ¶
Constants ¶
View Source
const DDL = "CREATE TABLE IF NOT EXISTS %s (" +
" `id` char(64) PRIMARY KEY," +
" `data` longblob NOT NULL," +
" `created` int NOT NULL DEFAULT '0'," +
" `modified` int NOT NULL DEFAULT '0'," +
" `expires` int NOT NULL DEFAULT '0');"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SQLiteStore ¶
func NewSQLiteStore ¶
func NewSQLiteStore(cfg *Options) (*SQLiteStore, error)
NewSQLiteStore takes the following paramaters path - path for Set-Cookie header
func NewSQLiteStoreFromConnection ¶
func NewSQLiteStoreFromConnection(db *sql.DB, cfg *Options) (*SQLiteStore, error)
NewSQLiteStoreFromConnection .
Click to show internal directories.
Click to hide internal directories.