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 (*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
Click to show internal directories.
Click to hide internal directories.