Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Durations ¶
type Statements ¶
func (*Statements) String ¶
func (s *Statements) String() string
type Stats ¶
type Stats struct { Durations Durations Statements Statements // contains filtered or unexported fields }
func (*Stats) AddResult ¶
func (s *Stats) AddResult(res TaskResult)
type TaskResult ¶
type TaskRunner ¶
type TaskRunner func(ctx context.Context, task Task) TaskResult
func NewTaskRunner ¶
func NewTaskRunner(pool *pgxpool.Pool) TaskRunner
Click to show internal directories.
Click to hide internal directories.