httpserver

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalAndWriteJSONResponse

func MarshalAndWriteJSONResponse(w http.ResponseWriter, code int, v interface{})

func SetupDatadogInstrumentation

func SetupDatadogInstrumentation(service, awsRegion, awsAccountID, stage string) *datadog.Exporter

func StartHealthServer

func StartHealthServer(port string)

func UnmarshalRequest

func UnmarshalRequest(r *http.Request, v interface{}) (err error)

func WriteJSONResponse

func WriteJSONResponse(w http.ResponseWriter, code int, body []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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