Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandomGenerator ¶
func RandomGenerator(size int) generator
func SetDefaultNamespace ¶ added in v0.2.0
func SetDefaultNamespace(ns *Namespace)
func SlogwPrepareFunc ¶ added in v0.2.0
func SlogwPrepareFunc(key string) slogctx.HandlePrepareFunc
Types ¶
type Namespace ¶ added in v0.2.0
type Namespace struct {
SlogwNamespace *slogctx.Namespace
// contains filtered or unexported fields
}
func DefaultNamespace ¶ added in v0.2.0
func DefaultNamespace() *Namespace
type Option ¶
type Option func(o *Options)
func RequestHeader ¶
Set X-Cloud-Trace-Context for Google Cloud https://cloud.google.com/trace/docs/trace-context?hl=ja#http-requests Set X-Amzn-Trace-Id for AWS https://docs.aws.amazon.com/ja_jp/elasticloadbalancing/latest/application/load-balancer-request-tracing.html
func ResponseHeader ¶
func SlogwNamespace ¶ added in v0.2.0
Source Files
¶
Click to show internal directories.
Click to hide internal directories.