Documentation ¶
Index ¶
- func MarshalAndWriteJSONResponse(ctx context.Context, w http.ResponseWriter, code int, v interface{})
- func SetupDatadogInstrumentation(service, awsRegion, awsAccountID, stage string) *datadog.Exporter
- func StartHealthServer(port string)
- func StatusNotFoundHandler() http.Handler
- func UnmarshalRequest(body io.ReadCloser, v interface{}) (err error)
- func WriteJSONResponse(ctx context.Context, w http.ResponseWriter, code int, body []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalAndWriteJSONResponse ¶
func MarshalAndWriteJSONResponse(ctx context.Context, w http.ResponseWriter, code int, v interface{})
func StartHealthServer ¶
func StartHealthServer(port string)
func StatusNotFoundHandler ¶ added in v1.8.2
func UnmarshalRequest ¶
func UnmarshalRequest(body io.ReadCloser, v interface{}) (err error)
func WriteJSONResponse ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.