Documentation ¶
Overview ¶
Package antlabs provides methods to communicate with an ANTLabs device. http://www.antlabs.com/
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Host ¶
func (*Host) InnGateApiRequest ¶
InnGateAPIRequest takes a querystring as the only argument and returns a map of values. All ANTLabs InnGate API requests work by a very simple webservice. A URL is crafted according to the API to make the proper request. The result is a plain-text file with lines that look like: field = value when a field has multiple values, they'll be delimited by pipes: field = value1|value2|value3|... The map of fields to values is produced by processing the body in parseBody().
Click to show internal directories.
Click to hide internal directories.