Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionString ¶
type Db ¶
func (*Db) Connect ¶
func (db *Db) Connect(connectionString ConnectionString) error
func (*Db) Disconnect ¶
type Queues ¶
type Queues struct {
Id int `db:"id"`
Ip string `db:"ip"`
ActiveJobsCount int `db:"active_jobs_count"`
NotActiveSince pq.NullTime `db:"not_active_since"`
CreatedAt time.Time `db:"created_at"`
UpdatedAt time.Time `db:"updated_at"`
}
func (Queues) SelectCountOfActive ¶
func (*Queues) SelectTheMostNotLoaded ¶
Click to show internal directories.
Click to hide internal directories.