Documentation ¶
Index ¶
- type DBTX
- type InsertMeasurementParams
- type Measurement
- type Queries
- func (q *Queries) GetRecentMeasurements(ctx context.Context, limit int32) ([]Measurement, error)
- func (q *Queries) GetTrends(ctx context.Context, period time.Duration) (Trend, error)
- func (q *Queries) InsertMeasurement(ctx context.Context, arg InsertMeasurementParams) (Measurement, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type Trend
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InsertMeasurementParams ¶
type Measurement ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) GetRecentMeasurements ¶
func (*Queries) InsertMeasurement ¶
func (q *Queries) InsertMeasurement(ctx context.Context, arg InsertMeasurementParams) (Measurement, error)
Click to show internal directories.
Click to hide internal directories.