Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { URL string // base URL of form http://ipaddr:port with no trailing slash Username string Password string Site string // contains filtered or unexported fields }
func (*Client) GetClients ¶
func (c *Client) GetClients() (clients []NetworkClient, err error)
func (*Client) GetNetworks ¶
type ClientResp ¶
type ClientResp struct {
Data []NetworkClient `json:"data"`
}
type NetworkClient ¶
type NetworkResp ¶
type NetworkResp struct {
Data []Network `json:"data"`
}
Click to show internal directories.
Click to hide internal directories.