http

package
v0.1.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 7 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 {
	Client *http.Client
}

func NewClient

func NewClient() *Client

func (*Client) Get

func (c *Client) Get(ctx context.Context, url string) ([]byte, error)

func (*Client) Post

func (c *Client) Post(ctx context.Context, url string, data interface{}, headers map[string]string) (target []byte, err error)

Jump to

Keyboard shortcuts

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