-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Inity | ||
|
||
[![Go Lint](https://github.com/Inquisico/go-inity/actions/workflows/golangci-lint-push.yaml/badge.svg)](https://github.com/Inquisico/go-inity/actions/workflows/golangci-lint-push.yaml) [![Go Test](https://github.com/Inquisico/go-inity/actions/workflows/go-test-push.yaml/badge.svg)](https://github.com/Inquisico/go-inity/actions/workflows/go-test-push.yaml) [![Release Drafter](https://github.com/Inquisico/go-inity/actions/workflows/release-drafter.yaml/badge.svg)](https://github.com/Inquisico/go-inity/actions/workflows/release-drafter.yaml) | ||
|
||
Inity is a simple and easy service bootstrap agent for Go projects. | ||
|
||
See [examples](examples) for more information. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Inity Examples | ||
|
||
### Simple | ||
|
||
A simple example showing to use Inity to bootstrap a service. | ||
|
||
### Hierarchical | ||
|
||
A hierarchical example showing how to use Inity to bootstrap a service with multiple dependencies. This is useful when you have a service that has multiple dependencies that need to be started and closed in a specific order. | ||
|
||
In this example, HTTP server C requires HTTP server A and B to be running before C, using multiple inity manager we can start server A and B first followed by C. When a signal is sent to close the service, C will be closed first followed by A and B. | ||
|
||
### Zerolog | ||
|
||
An example showing how to use Inity with Zerolog |