Documentation
¶
Overview ¶
Package bandwidth represents the SiteHost `/bandwidth` API endpoint.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a Service to work with API Jobs.
func (*Client) ListIPAddresses ¶
func (s *Client) ListIPAddresses(ctx context.Context) (response ListIPAddressesResponse, err error)
ListIPAddresses fetchs a list of IP addresses and subnets.
type ListIPAddressesResponse ¶
type ListIPAddressesResponse struct {
models.APIResponse
Return map[string]models.IPAddress `json:"return"`
}
ListIPAddressesResponse represents a response from listing IP addresses with the `/bandwidth/get_ip_list.json` endpoint.
Click to show internal directories.
Click to hide internal directories.