Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPClient ¶
HTTPClient provides client access to the HTTP server in agent.
func NewHTTPClient ¶
func NewHTTPClient(httpAddr string) *HTTPClient
func (*HTTPClient) GET ¶
func (c *HTTPClient) GET(path string) ([]byte, error)
func (*HTTPClient) POST ¶
func (c *HTTPClient) POST(path string, data interface{}) ([]byte, error)
func (*HTTPClient) PUT ¶
func (c *HTTPClient) PUT(path string, data interface{}) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.