directory
Version:
v0.0.15
Opens a new window with list of versions in this module.
Published: Jun 25, 2025
License: Apache-2.0
Opens a new window with license information.
README
¶
Examples
Several working examples of go-supervisor usage.
Basic HTTP server with graceful shutdown and configuration reloading.
HTTP server with middleware that transforms responses.
Multiple dynamic services managed as a single unit, using Generics.
Similar to composite, but designed specifically for running several httpserver
instances, with a channel-based config "siphon" for dynamic updates.
Running
go run ./examples/<name>
Directories
¶
|
|
Package main demonstrates a JSON API server using go-supervisor with proper middleware layering and separation of concerns.
|
Package main demonstrates a JSON API server using go-supervisor with proper middleware layering and separation of concerns. |
|
|
Example of request/response header manipulation using a middleware.
|
Example of request/response header manipulation using a middleware. |
|
|
|
|
Click to show internal directories.
Click to hide internal directories.