dotnet

package
v0.0.0-...-4c17517 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2019 License: Apache-2.0 Imports: 11 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 NewClient

func NewClient(logger lager.Logger, baseUrl *neturl.URL) *Client

func (*Client) Delete

func (client *Client) Delete(url string) error

func (*Client) Get

func (client *Client) Get(url string, output interface{}) error

func (*Client) Post

func (client *Client) Post(url string, payload, output interface{}) error

func (*Client) Put

func (client *Client) Put(url string, payload io.Reader, contentType string) error

func (*Client) ReadBody

func (client *Client) ReadBody(url string) (io.ReadCloser, error)

func (*Client) RunURL

func (client *Client) RunURL(handle string) string

func (*Client) SetHttpTimeout

func (client *Client) SetHttpTimeout(timeout time.Duration)

Jump to

Keyboard shortcuts

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