zipkin_opentracing

package
v2.1.50 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartSpanWithCtx

func StartSpanWithCtx(ctx context.Context, db *gorm.DB, skip int) (opentracing.Span, *gorm.DB)

StartSpanWithCtx 生成上下文span skip The argument skip is the number of stack frames to ascend, with 0 identifying the caller of Caller

Types

type OpentracingPlugin

type OpentracingPlugin struct{}

func (*OpentracingPlugin) Initialize

func (op *OpentracingPlugin) Initialize(db *gorm.DB) (err error)

func (*OpentracingPlugin) Name

func (op *OpentracingPlugin) Name() string

Jump to

Keyboard shortcuts

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