Documentation
¶
Index ¶
- type Config
- func (c *Config) WithDebug(debug bool) *Config
- func (c *Config) WithEndpoint(endpoint string) *Config
- func (c *Config) WithMaskAuthorization(debug bool) *Config
- func (c *Config) WithPassword(password string) *Config
- func (c *Config) WithToken(token string) *Config
- func (c *Config) WithUsername(username string) *Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Username *string Password *string LogDebug *bool MaskAuthorization *bool Endpoint *string Token *string // The HTTP client to use when sending requests. Defaults to // `http.DefaultClient`. HTTPClient *http.Client }
func (*Config) WithEndpoint ¶
func (*Config) WithMaskAuthorization ¶
func (*Config) WithPassword ¶
func (*Config) WithUsername ¶
Click to show internal directories.
Click to hide internal directories.