Discover Packages
github.com/abitofhelp/servicelib
EXAMPLES
shutdown
directory
Version:
v1.6.0
Opens a new window with list of versions in this module.
Published: Jun 26, 2025
License: MIT
Opens a new window with license information.
README
README
¶
Shutdown Examples
Overview
This directory contains examples demonstrating how to use the shutdown components of the ServiceLib library. Each example is a complete, runnable application that showcases specific features and usage patterns.
Examples
Running the Examples
Each example can be run from its directory using:
go run main.go
License
This project is licensed under the MIT License - see the LICENSE file for details.
Expand ▾
Collapse ▴
Directories
¶
Example of basic graceful shutdown
Example of basic graceful shutdown
Example of shutting down multiple resources
Example of shutting down multiple resources
Example of programmatic shutdown initiation
Example of programmatic shutdown initiation
Click to show internal directories.
Click to hide internal directories.