util

package
v0.0.0-...-b10e7cb Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2018 License: BSD-3-Clause Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallAPIRoot

func CallAPIRoot(route string) (apiRoute string, err error)

Function that calls AWS API Gateway in order to retrieve the request URI

func DoRequest

func DoRequest(method string, url string, body io.Reader, headers map[string]string, params map[string]string) (contents []byte, err error)

Function that manages all requests by the info given

func MailFromToken

func MailFromToken(tokens []string) (email string, preferred bool, err error)

Function that retrieves an email from a JSON token

Types

This section is empty.

Jump to

Keyboard shortcuts

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