/serv

A server and router implementation with a focus on security, flexibility and ease of use.

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

serv

Latest release Build status Go Report Card Documentation

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 on ServeMux;
  • support for access logging.

go get github.com/go-pogo/serv
import "github.com/go-pogo/serv"

Documentation

Additional detailed documentation is available at pkg.go.dev

Created with

License

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.