rkasynq

package module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2022 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSpan

func GetSpan(ctx context.Context) trace.Span

func GetTraceId

func GetTraceId(ctx context.Context) string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL