Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Opentracing ¶
type Opentracing struct {
// contains filtered or unexported fields
}
Opentracing represents opentracing plugin for resty client.
func NewOpentracingWithConfigPath ¶
func NewOpentracingWithConfigPath(path string) (*Opentracing, error)
NewOpentracingWithConfigPath returns new opentracing with options from config path.
func NewOpentracingWithOptions ¶
func NewOpentracingWithOptions(options *Options) *Opentracing
NewOpentracingWithOptions returns new opentracing with options.
type Options ¶
type Options struct {
Enabled bool
}
Options represents opentracing for resty client options.
func NewOptions ¶
NewOptions returns options from config file or environment vars.
func NewOptionsWithPath ¶
NewOptionsWithPath unmarshals options based a given key path.
Click to show internal directories.
Click to hide internal directories.