fasthttp

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientSpanHelper

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

func NewClientSpanHelper

func NewClientSpanHelper(trace *go2sky.Tracer, opts ...Option) *ClientSpanHelper

func (*ClientSpanHelper) CreateSpan

func (fc *ClientSpanHelper) CreateSpan(ctx context.Context, req *fasthttp.Request) (span go2sky.Span, err error)

func (*ClientSpanHelper) EndSpan

func (fc *ClientSpanHelper) EndSpan(span go2sky.Span, res *fasthttp.Response)

func (*ClientSpanHelper) EndSpanError

func (fc *ClientSpanHelper) EndSpanError(span go2sky.Span, err error)

type Option added in v0.17.0

type Option func(opts *options)

func WithLog4xxBody added in v0.17.0

func WithLog4xxBody() Option

func WithLogError added in v0.17.0

func WithLogError() Option

Jump to

Keyboard shortcuts

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