Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeStatusResponse ¶
func DecodeStatusResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeStatusResponse returns a decoder for responses returned by the monitoring status endpoint. restoreBody controls whether the response body should be restored after having been read.
func StatusMonitoringPath ¶
func StatusMonitoringPath() string
StatusMonitoringPath returns the URL path to the monitoring service status HTTP endpoint.
Types ¶
type Client ¶
type Client struct {
// Status Doer is the HTTP client used to make requests to the status endpoint.
StatusDoer goahttp.Doer
// CORS Doer is the HTTP client used to make requests to the endpoint.
CORSDoer goahttp.Doer
// RestoreResponseBody controls whether the response bodies are reset after
// decoding so they can be read again.
RestoreResponseBody bool
// contains filtered or unexported fields
}
Client lists the monitoring service endpoint HTTP clients.
func NewClient ¶
func NewClient( scheme string, host string, doer goahttp.Doer, enc func(*http.Request) goahttp.Encoder, dec func(*http.Response) goahttp.Decoder, restoreBody bool, ) *Client
NewClient instantiates HTTP clients for all the monitoring service servers.
func (*Client) BuildStatusRequest ¶
BuildStatusRequest instantiates a HTTP request object with method and path set to call the "monitoring" service "status" endpoint
Click to show internal directories.
Click to hide internal directories.