Versions in this module Expand all Collapse all v0 v0.0.2 Sep 29, 2021 Changes in this version + type DebugServer struct + ListenAddr string + Logger *zapctx.Logger + func (d *DebugServer) Close() error + func (d *DebugServer) Setup() error + func (d *DebugServer) Start() error v0.0.1 Dec 28, 2020 Changes in this version + func BasicHandler(handler func(request *http.Request) CanHTTPWrite, l *zapctx.Logger) http.Handler + func BasicServerRun(logger *zapctx.Logger, server *http.Server, ...) error + func HealthHandler(z *zapctx.Logger, tracer gotracing.Tracing) http.Handler + func LogMiddleware(logger *zapctx.Logger, filterFunc func(req *http.Request) bool) func(handler http.Handler) http.Handler + func MuxMiddleware() func(handler http.Handler) http.Handler + func NotFoundHandler(logger *zapctx.Logger) http.Handler + type BasicResponse struct + Code int + Headers map[string]string + Msg io.WriterTo + func (g *BasicResponse) HTTPWrite(ctx context.Context, w http.ResponseWriter, l *zapctx.Logger) + type CanHTTPWrite interface + HTTPWrite func(ctx context.Context, w http.ResponseWriter, l *zapctx.Logger)