xprotocol

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTracer

func NewTracer(config map[string]interface{}) (api.Tracer, error)

func RegisterDelegate added in v0.26.0

func RegisterDelegate(name api.ProtocolName, delegate ProtocolDelegate)

Types

type ProtocolDelegate added in v0.26.0

type ProtocolDelegate func(ctx context.Context, frame api.XFrame, span api.Span)

func GetDelegate added in v0.26.0

func GetDelegate(name api.ProtocolName) ProtocolDelegate

type XTracer added in v0.26.0

type XTracer struct {
	// contains filtered or unexported fields
}

func (*XTracer) Start added in v0.26.0

func (t *XTracer) Start(ctx context.Context, frame interface{}, startTime time.Time) api.Span

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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