This repository has been archived by the owner on Oct 2, 2022. It is now read-only.
generated from ContainerSSH/library-template
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Janos Pasztor
committed
Jun 9, 2021
1 parent
ed77002
commit 49abd49
Showing
9 changed files
with
145 additions
and
52 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 |
---|---|---|
@@ -1,9 +1,13 @@ | ||
# Changelog | ||
|
||
## 1.0.1 | ||
## 1.1.0: Added health check client | ||
|
||
This release adds a dedicated client library for health checks. It also adds an "Enable" field to the configuration. | ||
|
||
## 1.0.1: JSON and YAML tags | ||
|
||
Add JSON and YAML tag as well as a sane default for the HTTP configuration. | ||
|
||
## 1.0.0 | ||
## 1.0.0: Initial version | ||
|
||
Initial version of a health check service using an external configuration. | ||
Initial version of a health check service using an external configuration. |
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 @@ | ||
# Message / error codes | ||
|
||
| Code | Explanation | | ||
|------|-------------| | ||
| `HEALTH_AVAILABLE` | The health check service is now online and ready for service. | | ||
| `HEALTH_REQUEST_FAILED` | A request to the health check endpoint failed. | | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package health | ||
|
||
// The health check service is now online and ready for service. | ||
const MServiceAvailable = "HEALTH_AVAILABLE" | ||
|
||
// A request to the health check endpoint failed. | ||
const ERequestFailed = "HEALTH_REQUEST_FAILED" |
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,3 @@ | ||
package health | ||
|
||
//go:generate containerssh-generate-codes |
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
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