Documentation ¶
Index ¶
- type AwsUptime
- type AwsUptimeTracker
- type DBTX
- type InsertParams
- type Queries
- func (q *Queries) Close() error
- func (q *Queries) Count(ctx context.Context) (int64, error)
- func (q *Queries) Insert(ctx context.Context, arg InsertParams) (int, error)
- func (q *Queries) Oldest(ctx context.Context) (string, error)
- func (q *Queries) Track(ctx context.Context, runDate string) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- func (q *Queries) Youngest(ctx context.Context) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsUptime ¶
type AwsUptime struct { ID int `json:"id"` Ts string `json:"ts"` Unit string `json:"unit"` Average float64 `json:"average"` Date string `json:"date"` }
func (*AwsUptime) Insertable ¶
func (a *AwsUptime) Insertable() InsertParams
type AwsUptimeTracker ¶
type InsertParams ¶
Click to show internal directories.
Click to hide internal directories.