Documentation
¶
Index ¶
- func Operation(ctx context.Context, command, result string, retry int64, ...)
- func Request(ctx context.Context, command, result string, retries int64, ...)
- func SQLOperation(ctx context.Context, query, result string, duration time.Duration)
- type Config
- type OperationRecorder
- type Provider
- type RequestRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OperationRecorder ¶
type OperationRecorder struct {
// contains filtered or unexported fields
}
type RequestRecorder ¶
type RequestRecorder struct {
// contains filtered or unexported fields
}
func StartRequest ¶
func StartRequest(command string) RequestRecorder
func (*RequestRecorder) StartOperation ¶
func (rec *RequestRecorder) StartOperation() OperationRecorder
Click to show internal directories.
Click to hide internal directories.