Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextSleep ¶
ContextSleep sleeps for the provided duration and returns an error if context is canceled.
func ExtractLogger ¶
func ExtractLogger(ctx context.Context, origin string) *zap.SugaredLogger
ExtractLogger returns a sugared logger with the origin tag added.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.