api

package
v3.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Request

func Request(req *http.Request) (*simplejson.Json, error)

Request parses the request body into a simplejson.Json object

func RequestJSON

func RequestJSON(req *http.Request, v interface{}) error

RequestJSON parses the request body into the given interface

func RequestUnparsedResponse

func RequestUnparsedResponse(url string, header http.Header) (resp *http.Response, err error)

RequestUnparsedResponse performs a GET and returns the raw response object

Types

This section is empty.

Jump to

Keyboard shortcuts

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