Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultErrDecoder ¶
Types ¶
type DriverWrapper ¶
func WithTransport ¶
func WithTransport(tr http.RoundTripper) DriverWrapper
type ErrDecoder ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func NewFactory ¶
func NewFactory(cfg *config.Config, wrappers []DriverWrapper) *Factory
func (*Factory) Get ¶
func (f *Factory) Get(name string, errDecoder ErrDecoder, driverWrappers ...DriverWrapper) *Base
Click to show internal directories.
Click to hide internal directories.