Documentation ¶
Index ¶
- func HealthHealthPath() string
- type Client
- func (c *Client) DecodeJSON(resp *http.Response) (*JSON, error)
- func (c *Client) Download(ctx context.Context, dest string) (int64, error)
- func (c *Client) DownloadImages(ctx context.Context, filename, dest string) (int64, error)
- func (c *Client) DownloadStyles(ctx context.Context, filename, dest string) (int64, error)
- func (c *Client) HealthHealth(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) NewHealthHealthRequest(ctx context.Context, path string) (*http.Request, error)
- type JSON
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HealthHealthPath ¶
func HealthHealthPath() string
HealthHealthPath computes a request path to the health action of health.
Types ¶
type Client ¶
type Client struct { *goaclient.Client Encoder *goa.HTTPEncoder Decoder *goa.HTTPDecoder }
Client is the demo service client.
func (*Client) DecodeJSON ¶
DecodeJSON decodes the JSON instance encoded in resp body.
func (*Client) Download ¶
Download downloads index.html and writes it to the file dest. It returns the number of bytes downloaded in case of success.
func (*Client) DownloadImages ¶
DownloadImages downloads /files with the given filename and writes it to the file dest. It returns the number of bytes downloaded in case of success.
func (*Client) DownloadStyles ¶
DownloadStyles downloads /files with the given filename and writes it to the file dest. It returns the number of bytes downloaded in case of success.
func (*Client) HealthHealth ¶
Perform health check.
Click to show internal directories.
Click to hide internal directories.