package
0.0.63
Repository: https://github.com/boostgo/lite.git
Documentation: pkg.go.dev

# Functions

AmIMaster returns flag if current app is "Trace Master".
FromRequest returns trace id from HTTP request.
FromResponse returns trace id from HTTP response.
Get returns trace id from provided context.
GetAMQP returns trace id from RMQ message.
GetEchoCtx returns trace id from request in echo context.
GetKafka return request id from kafka message.
GetKafkaCtx returns context with trace id from message.
GetUUID returns trace id as "UUID" from context.
Has checks if provided context contain trace id.
IAmMaster set flag that current app is "Trace Master".
ID generate new trace id as UUID.
Key returns trace id key from HTTP request, kafka/rmq message, etc...
Set sets trace id to new context.
SetAmqp set trace id in RMQ headers from context.
SetAmqpCtx set trace id to RMQ headers table.
SetEchoCtx sets trace id to HTTP request into echo context.
SetKafka sets trace id from context to provided messages.
SetRequest sets trace id to HTTP request.
SetRequestCtx sets trace id from context to HTTP request.
String generate new trace id as string.