httpclient

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: MIT Imports: 9 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(goclient *http.Client, v version.Version, endpoint string) Client

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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