modulepackage
0.0.0-20210905061736-9477ea8919b1
Repository: https://github.com/adi/dynhttpsrv.git
Documentation: pkg.go.dev
# README
Dynamic HTTP Server (dynhttpsrv)
A Go HTTP server which you can programatically:
- Start and stop multiple servers on various addresses
- Cancel it through the provided context
- Add/Remove endpoints while serving with no glitch
# Functions
New creates a new dynamic HTTP server listening on address and obeying cancelling through ctx.