api

package
v0.0.0-...-8baa788 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorResponse

func ErrorResponse(w http.ResponseWriter, statusCode int, err error, msg string)

func GetAPIGWPrincipal

func GetAPIGWPrincipal(r *http.Request) (string, *gsuite.UserInfo, error)

func JsonResponse

func JsonResponse(w http.ResponseWriter, statusCode int, value interface{})

Types

type J

type J map[string]interface{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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