utils

package
v0.0.0-...-2a9c997 Latest Latest
Warning

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

Go to latest
Published: May 19, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DELETE

func DELETE(host, path string, data interface{}, headers map[string][]string) (string, int, error)

func EncodeData

func EncodeData(v interface{}) (*bytes.Buffer, error)

func GET

func GET(host, path string, data interface{}, headers map[string][]string) (string, int, error)

func GetRequestPath

func GetRequestPath(host, path string) string

func POST

func POST(host, path string, data interface{}, headers map[string][]string) (string, int, error)

func PUT

func PUT(host, path string, data interface{}, headers map[string][]string) (string, int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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