http

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: GPL-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 {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(timeOutCustom int) *Client

func (*Client) Post

func (h *Client) Post(ctx context.Context, url string, data url.Values, contextType string) ([]byte, error)

func (*Client) PostForm

func (h *Client) PostForm(ctx context.Context, url string, data url.Values) ([]byte, error)

func (*Client) PostJson

func (h *Client) PostJson(ctx context.Context, url string, data url.Values) ([]byte, error)

Jump to

Keyboard shortcuts

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