Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithRequestAndTrace ¶
WithRequestAndTrace is a middleware that sets the request id and trace id to the context. If the context has a span, it will use the trace id of the span as the trace id. Otherwise, it will generate a random trace id.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.