Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithCustomClient ¶
func WithCustomClient(httpClient *http.Client) func(*ServiceClient)
This function would rather use a custom http(s) client over the default client configured at the package level
Types ¶
type ServiceClient ¶
type ServiceClient struct {
// contains filtered or unexported fields
}
func New ¶
func New(url string, log Logger, options ...func(*ServiceClient)) *ServiceClient
func (*ServiceClient) Authenticate ¶
func (cln *ServiceClient) Authenticate(ctx context.Context, authorization string) (AuthenticateResp, error)
Click to show internal directories.
Click to hide internal directories.