Versions in this module Expand all Collapse all v1 v1.1.1 Feb 5, 2021 Changes in this version + func CatchingMiddleware(logger log.Logger) mux.MiddlewareFunc + func CatchingRedirect(writer http.ResponseWriter, request *http.Request, url string, statusCode int) error + func RunServer(shutdownCtx context.Context, server Server, logger log.Logger, ...) (ok bool) + func SPAFallbackMiddleware() mux.MiddlewareFunc + func StaticAssetHandler(fileSystem http.FileSystem, logger log.Logger) http.Handler + type CatchingResponseWriter struct + func NewCatchingResponseWriter(writer http.ResponseWriter) *CatchingResponseWriter + func (writer *CatchingResponseWriter) Write(p []byte) (n int, err error) + func (writer CatchingResponseWriter) LastError() error + type File interface + type FileInfo interface + type FileSystem interface + type HTTPClient interface + Do func(request *http.Request) (*http.Response, error) + type Handler interface + type Logger interface + type ResponseWriter interface + type Server interface + ListenAndServe func() error + Shutdown func(ctx context.Context) error