Documentation ¶
Overview ¶
Package goaci is a a Cisco ACI client library for Go.
Index ¶
- func NoRefresh(req *Request)
- func Query(k, v string) func(req *Request)
- func RequestTimeout(x time.Duration) func(*Client)
- type Client
- func (c Client) Get(path string, mods ...func(*Request)) (Response, error)
- func (c Client) GetClass(class string, mods ...func(*Request)) (Response, error)
- func (c Client) GetDn(dn string, mods ...func(*Request)) (Response, error)
- func (c Client) Login() error
- func (c Client) Post(path, data string, mods ...func(*Request)) (Response, error)
- func (c Client) Refresh() error
- type Request
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequestTimeout ¶
RequestTimeout modifies the request timeout from the default.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is an API client.
Click to show internal directories.
Click to hide internal directories.