httpclient

package
v0.0.0-...-44eb7c0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2020 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 New

func New(h *http.Client, conf *auth.AuthConfig) *Client

func (*Client) Auth

func (p *Client) Auth() *Client

func (*Client) Request

func (p *Client) Request(api api.API, req api.Request, result interface{}) (*http.Response, error)

Request response APILimit.Private(req.Header) APILimit.Public(req.Header)

Jump to

Keyboard shortcuts

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