Documentation ¶ Index ¶ func New(config *config.Database) (store.Store, error) type DB func (d *DB) CreateNetwork(net *models.Network) error func (d *DB) GetNetwork(net *models.Network) error func (d *DB) GetSite(site *models.Site) error func (d *DB) Ping() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(config *config.Database) (store.Store, error) Types ¶ type DB ¶ type DB struct { // contains filtered or unexported fields } func (*DB) CreateNetwork ¶ func (d *DB) CreateNetwork(net *models.Network) error func (*DB) GetNetwork ¶ func (d *DB) GetNetwork(net *models.Network) error func (*DB) GetSite ¶ func (d *DB) GetSite(site *models.Site) error func (*DB) Ping ¶ func (d *DB) Ping() error Source Files ¶ View all Source files database.go Click to show internal directories. Click to hide internal directories.