Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresStorage ¶
type PostgresStorage struct {
// contains filtered or unexported fields
}
func New ¶
func New(db *sql.DB) *PostgresStorage
New creates sqlite3 storage. If you have a lot of candidates (50 and more) it's recomended to do db.SetMaxOpenConns(1) before calling New.
Click to show internal directories.
Click to hide internal directories.