Documentation ¶
Overview ¶
Package budget contains the budget service API client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPClient ¶
func HTTPClient(h httpClient) func(h *client) error
HTTPClient returns a function that sets the http client used by the API (e.g. if we want to use TLS).
func NewClient ¶
func NewClient(options ...ClientOption) (*client, error)
NewClient returns a new budget API client using the provided http client.
Types ¶
type ClientOption ¶
type ClientOption func(h *client) error
ClientOption defines a function which configures a Client.
Click to show internal directories.
Click to hide internal directories.