Documentation ¶
Index ¶
Constants ¶
View Source
const (
ParamAccessCode = "AccessCode"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WSDOTClient ¶
func NewWSDOTClient ¶
func NewWSDOTClient(options ...WSDOTClientOption) (*WSDOTClient, error)
type WSDOTClientError ¶
type WSDOTClientError error
var ( ErrInvalidAPIKey WSDOTClientError = errors.New("invalid api key") ErrNoClient WSDOTClientError = errors.New("no client") )
type WSDOTClientOption ¶
type WSDOTClientOption func(*WSDOTClient)
func WithAPIKey ¶
func WithAPIKey(apiKey string) WSDOTClientOption
func WithHTTPClient ¶
func WithHTTPClient(client *http.Client) WSDOTClientOption
Click to show internal directories.
Click to hide internal directories.