Versions in this module Expand all Collapse all v1 v1.0.0 Sep 19, 2021 Changes in this version + func HealthCheckHandler(w http.ResponseWriter, r *http.Request) + func StartHTTPListener(config Config) + func WriteDeleteAPIResponse(ctx context.Context, w http.ResponseWriter, r *http.Request, err error) + func WriteGetAPIResponse(ctx context.Context, w http.ResponseWriter, r *http.Request, ...) + func WritePatchAPIResponse(ctx context.Context, w http.ResponseWriter, r *http.Request, err error) + func WritePostAPIResponse(ctx context.Context, w http.ResponseWriter, r *http.Request, ...) + func WritePutAPIResponse(ctx context.Context, w http.ResponseWriter, r *http.Request, err error) + type Config interface + SetupRoutes func(router *mux.Router) + StartServer func() bool + type Health interface + Healthy func() bool