Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdminStorage ¶
func NewAdminStorage(db *sql.DB) storage.AdminStorage
NewAdminStorage returns a storage.AdminStorage implementation
func NewLogStorage ¶
func NewLogStorage(db *sql.DB, mf monitoring.MetricFactory) storage.LogStorage
NewLogStorage creates a storage.LogStorage instance for the specified PostgreSQL URL. It assumes storage.AdminStorage is backed by the same PostgreSQL database as well.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.