httpclient

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2017 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 interface {
	APIGet(string, interface{}) error
	APIPost(string, interface{}, interface{}) error

	Get(string) (*http.Response, error)
	Post(string, string, io.Reader) (*http.Response, error)
}

func NewClient

func NewClient(endpoint string, goclient *http.Client) Client

Jump to

Keyboard shortcuts

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