handlers

package
v0.0.0-...-fd79670 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Live

func Live(resp http.ResponseWriter, req *http.Request, params httprouter.Params)

Live returns ok

func Ready

func Ready(resp http.ResponseWriter, req *http.Request, params httprouter.Params)

Ready pings datastore to check connectivity

func Wrap

Wrap acts as a wrap around httprouter handlers which adds trace id to the incoming context and logs the time taken to serve a request

Types

This section is empty.

Jump to

Keyboard shortcuts

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