package
module
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Dec 23, 2024
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Option func(r *Rest)
func WithTracerEnabled() Option
WithTracerEnabled marks tracer flag as true and registers request and response
middleware to start and end a span.
type Rest struct {
*resty.Client
}
Rest is a wrapper for *resty.Client with extra fields and features.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.