skovtunenko / graterm Goto Github PK
View Code? Open in Web Editor NEWProvides primitives to perform ordered GRAceful TERmination for Golang applications
License: MIT License
Provides primitives to perform ordered GRAceful TERmination for Golang applications
License: MIT License
Update the linter to the current v1.50.1
version:
https://github.com/golangci/golangci-lint/releases/tag/v1.50.1
Update Readme.md with code quality metrics
To better reflect the purpose of the library, the core type Stopper
shall be renamed to Terminator
.
Order
-- what would be the effect?// ..........
Lines 118 to 176 in 9ba2fb9
ReadHeaderTimeout
Features
section in README.md to be more visible* dependency only on a standard Go library
Remove extra constructor to register default Signals.
Let this to be up to the API consumer.
It doesn't make sense to concurrently stop (HTTP) Server simultaneously when regular registered components are stopped.
The server shall be the first component to stop in a sequence of terminations.
Add goroutines leak test
Properly handle possible panics inside user-defined Hooks
To log it something like:
"registered hook for component: %q (priority: %d) finished termination in %v out of %v"
WithName()
method . It is now not clear when to use this methodHook
type a detailed descriptionTerminator
constructor) will be canceled.ctx
that will be passed into actual termination hook is used only for cancellation signalingUpdate Readme.md with description and examples
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.