Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DebugTransport = &LogTransport{ transport: http.DefaultTransport, }
Functions ¶
func New ¶
func New(opts ...OptionFunc) provider.Provider
New is a helper function to simplify provider server and testing implementation.
func NewDebugTransport ¶
func NewDebugTransport(innerTransport http.RoundTripper) http.RoundTripper
Types ¶
type LogTransport ¶
type LogTransport struct {
// contains filtered or unexported fields
}
type OptionFunc ¶
type OptionFunc func(p *folgeProvider)
func WithDebugClient ¶
func WithDebugClient() OptionFunc
func WithRecorderClient ¶
func WithRecorderClient(file string, mode recorder.Mode) (OptionFunc, func() error)
func WithRetryableClient ¶
func WithRetryableClient(retries int) OptionFunc
Directories ¶
Path | Synopsis |
---|---|
Package folge provides primitives to interact with the openapi HTTP API.
|
Package folge provides primitives to interact with the openapi HTTP API. |
Click to show internal directories.
Click to hide internal directories.