client

package
v0.0.0-...-b0bf924 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL