httpclient

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: MIT Imports: 5 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(host, token string) *Client

func (*Client) Get

func (c *Client) Get(url string, options ...ClientOptions) (*http.Response, error)

func (*Client) Post

func (c *Client) Post(path string, body interface{}) (*http.Response, error)

type ClientOptions

type ClientOptions struct{}

Jump to

Keyboard shortcuts

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