Documentation ¶
Index ¶
- Variables
- func FlushPending()
- func RecordCommandContext(ctx context.Context)
- func RecordCommandFinish(cmd *cobra.Command)
- func Send[T any](ctx context.Context, metricSlug string, value T)
- func SendJson(ctx context.Context, metricSlug string, payload json.RawMessage)
- func SendNoData(ctx context.Context, metricSlug string)
- func StartTiming(ctx context.Context, metricSlug string) func()
- func Started(ctx context.Context, metricSlug string)
- func Status(ctx context.Context, metricSlug string, success bool)
Constants ¶
This section is empty.
Variables ¶
View Source
var Enabled = true
Functions ¶
func FlushPending ¶
func FlushPending()
func RecordCommandContext ¶ added in v0.0.550
func RecordCommandFinish ¶ added in v0.0.550
func SendNoData ¶
func StartTiming ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.