Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DriverWrapper ¶
func WithTransport ¶
func WithTransport(tr http.RoundTripper) DriverWrapper
type ErrDecoder ¶
func DefaultErrDecoder ¶
func DefaultErrDecoder(name string) ErrDecoder
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func NewFactory ¶
func NewFactory(cfg *config.Config, wrappers []DriverWrapper) *Factory
type GenericClientError ¶ added in v0.1.4
type GenericClientError struct { ClientName string StatusCode int RawBody []byte ParsedBody interface{} }
func (GenericClientError) Error ¶ added in v0.1.4
func (e GenericClientError) Error() string
type Option ¶ added in v0.1.4
type Option interface {
Apply(*options)
}
func WithDriverWrappers ¶ added in v0.1.4
func WithDriverWrappers(wrappers ...DriverWrapper) Option
func WithErrDecoder ¶ added in v0.1.4
func WithErrDecoder(ed ErrDecoder) Option
Click to show internal directories.
Click to hide internal directories.