Documentation ¶
Overview ¶
Package client provides a full Go API client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtendedPostCmd ¶
func ExtendedPostCmd(ctx context.Context, c *client.Client, data *types.ExtendedType) (string, error)
ExtendedPostCmd is a client function that sets a context timeout and sends a POST to /1.0/extended using the given client. This function is expected to be called from an api endpoint handler, which gives us access to the daemon state, from which we can create a client.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.