client

package
v0.0.0-...-8b57a7c Latest Latest
Warning

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

Go to latest
Published: May 23, 2019 License: MIT Imports: 6 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 {
	Impl shared.ClientInterface
}

Client -

func NewBasicClient

func NewBasicClient(opts ...basic.Option) *Client

NewBasicClient -

func NewClientWithCircuitBreaker

func NewClientWithCircuitBreaker(opts ...circuitbreaker.Option) *Client

NewClientWithCircuitBreaker -

func (*Client) Delete

func (c *Client) Delete(url string, headers http.Header) (*http.Response, error)

Delete -

func (*Client) Get

func (c *Client) Get(url string, headers http.Header) (*http.Response, error)

Get -

func (*Client) Post

func (c *Client) Post(url string, body io.Reader, headers http.Header) (*http.Response, error)

Post -

func (*Client) Put

func (c *Client) Put(url string, body io.Reader, headers http.Header) (*http.Response, error)

Put -

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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