Documentation ¶ Index ¶ func GetOrNewTraceCtx(ctx context.Context) (context.Context, string) func GetOrNewTraceId(ctx context.Context) (string, bool) func GetTraceId(ctx context.Context, defaultVal string) string func NewContext(ctx context.Context) context.Context Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetOrNewTraceCtx ¶ added in v0.0.13 func GetOrNewTraceCtx(ctx context.Context) (context.Context, string) func GetOrNewTraceId ¶ added in v0.0.13 func GetOrNewTraceId(ctx context.Context) (string, bool) func GetTraceId ¶ added in v0.0.13 func GetTraceId(ctx context.Context, defaultVal string) string func NewContext ¶ added in v0.0.13 func NewContext(ctx context.Context) context.Context Types ¶ This section is empty. Source Files ¶ View all Source files trace.go Click to show internal directories. Click to hide internal directories.