internal

package
v0.0.0-...-abf49f6 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 8 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
}

func ClientFromCmd

func ClientFromCmd(cmd *cobra.Command) *Client

func (*Client) Get

func (cli *Client) Get(ctx context.Context, url string, dst interface{}) error

func (*Client) Post

func (cli *Client) Post(ctx context.Context, url string, payload interface{}) error

func (*Client) PostWithReader

func (cli *Client) PostWithReader(ctx context.Context, url string, r io.Reader) error

Jump to

Keyboard shortcuts

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