-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(readme): improve comments and documentation in
graceful
package
- Add detailed package-level comments explaining the purpose and functionality of the `graceful` package. - Improve comments for `Graceful` struct and error variables for better clarity. - Separate type definitions for `listenAndServe` and `cleanup` with individual comments. - Correct typos in method comments to use "an http.Server" instead of "a http.Server". - Add a `donothing` function in `options.go`. Signed-off-by: appleboy <[email protected]>
- Loading branch information
Showing
2 changed files
with
21 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters