http_helper

package
v0.0.0-...-a7dc4af Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UberGet

func UberGet(client *http.Client, otp, request string) (resp *http.Response, err error)

uberGet makes an http GET request. Depending on the uc configuration (currently cli param) it adds a one time password.

func UberPost

func UberPost(client *http.Client, otp, url string, bodyType string, body io.Reader) (resp *http.Response, err error)

uberPost is a http.Post replacement which adds otp requests and possibly others depending on the configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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