client

package
v0.0.0-...-df6a15f Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: MIT Imports: 4 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 {
	Endpoint, Key string
	Client        *http.Client
}

Client ...

func New

func New(endpoint, key string) *Client

New ...

func (*Client) Do

func (c *Client) Do(req *http.Request, recipient interface{}) error

Do ...

func (*Client) NewRequest

func (c *Client) NewRequest(method, path string, payload interface{}) (*http.Request, error)

NewRequest ...

Jump to

Keyboard shortcuts

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