apiclient

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2015 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(url string) ([]byte, *http.Response, error)

func ParseMap

func ParseMap(data []byte) map[string]interface{}

func ParseStringMap

func ParseStringMap(data []byte) map[string]string

func Post

func Post(url string, data interface{}) ([]byte, *http.Response, error)

func PostFile

func PostFile(url string, path string, progressWriter io.Writer) ([]byte, *http.Response, error)

func Put

func Put(url string, data interface{}) ([]byte, *http.Response, error)

func SetBaseUrl

func SetBaseUrl(url string)

func Url

func Url(url string, params ...string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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