Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct { Logger LoggerInterface HttpClient *http.Client }
func (*Builder) GetInstance ¶
func (*Builder) WithLogger ¶
func (b *Builder) WithLogger(loggerInterface LoggerInterface) *Builder
type Client ¶
type Client struct { HttpClient *http.Client Logger LoggerInterface }
type Factory ¶
type Factory struct {
Builder *Builder
}
func NewFactory ¶
func NewFactory() *Factory
func NewFactoryWithBuilder ¶
func (*Factory) CreateClient ¶
func (*Factory) CreateWithHttpClient ¶
func (*Factory) CreateWithLogger ¶
func (f *Factory) CreateWithLogger(logger LoggerInterface) *Client
func (*Factory) CreateWithLoggerAndHttpClient ¶
func (f *Factory) CreateWithLoggerAndHttpClient(loggerInterface LoggerInterface, pClient *http.Client) *Client
Click to show internal directories.
Click to hide internal directories.