Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTraceId ¶
func NewJaegerMid ¶
func NewJaegerMid(traceRaw []byte) (asynq.MiddlewareFunc, error)
Types ¶
type TraceConfig ¶
type TraceConfig struct {
Asynq struct {
Trace rkmidtrace.BootConfig `yaml:"trace"`
} `yaml:"asynq"`
}
type TraceMiddleware ¶
type TraceMiddleware struct {
// contains filtered or unexported fields
}
func (*TraceMiddleware) Middleware ¶
func (m *TraceMiddleware) Middleware(h asynq.Handler) asynq.Handler
Click to show internal directories.
Click to hide internal directories.