package
0.1.0
Repository: https://github.com/secureworks/taegis-sdk-go.git
Documentation: pkg.go.dev

# Functions

NewClient creates a new default client with no options set This is typically just passed into a service call like notifications.NewNotificationSvc(client.NewClient()).
WithBearerToken lets you set a token to include with every request.
WithHeader lets you add additional header values to all requests.
WithHTTPClient sets the underlying http client for use with requests, overrides default of http.DefaultClient.
WithHTTPTimeout sets how long the request has to finish, this defaults to 5 seconds.
WithLogger sets the underlying logger to be used with any Client passing through the returned Option.
WithTenant lets you set a tenant id with every request.

# Structs

Client is the default wrapper around an http client extra helpers for our APIs around using bearer tokens.

# Type aliases

Option is used for setting client options for the SDK.