httpclient

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpClient

type HttpClient struct {
	// contains filtered or unexported fields
}

func NewHttpClient

func NewHttpClient(hasSSL bool) *HttpClient

NewHttpClient -

func (*HttpClient) Connect

func (c *HttpClient) Connect(url string, method string, params map[string]string, reqBody io.Reader) ([]byte, error)

Connect - connect HTTP connection with specific url and method

func (*HttpClient) ConnectWithMultpart

func (c *HttpClient) ConnectWithMultpart(url string, method string, params map[string]string, fileParaname, filePath string) ([]byte, error)

ConnectWithMultpart -

Jump to

Keyboard shortcuts

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