Documentation
¶
Overview ¶
Package apiclient talks to the API of a locally running roji server.
Requests connect to an address the server listens on and carry the dashboard hostname in the Host header. That avoids depending on *.localhost DNS resolution while still reaching the dashboard virtual host, which is the only one that serves the /_api endpoints.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
Get sends a GET request to the local roji API endpoint at path. The caller is responsible for closing the response body.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.