Package serv
provides a server and router implementation based on the http
package, with a focus on security, flexibility and ease of use.
Included features:
Server
with sane and safe defaults;Server
State
retrieval;Router
/ServeMux
with easy (mass)Route
registration;- Set custom "not found"
http.Handler
onServeMux
; - support for access logging.
go get github.com/go-pogo/serv
import "github.com/go-pogo/serv"
Additional detailed documentation is available at pkg.go.dev
Copyright © 2021-2024 Roel Schut. All rights reserved.
This project is governed by a BSD-style license that can be found in the LICENSE file.