client

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is an HTTP API client.

func New

func New(baseURL, apiKey string) *Client

New creates an API client.

func (*Client) DoAPI

func (c *Client) DoAPI(ctx context.Context, endpoint, method, body string, debug bool) (string, error)

DoAPI calls an API endpoint.

Jump to

Keyboard shortcuts

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