[MM-56348] system/ping: add new method with options (#26079)

Этот коммит содержится в:
Ibrahim Serdar Acikgoz
2024-02-20 14:22:28 +01:00
коммит произвёл GitHub
родитель 0aaa047ea3
Коммит 7d8a56019b
9 изменённых файлов: 83 добавлений и 25 удалений

Просмотреть файл

@@ -245,3 +245,14 @@ type LogEntry struct {
Timestamp string
Level string
}
// SystemPingOptions is the options for setting contents of the system ping
// response.
type SystemPingOptions struct {
// FullStatus allows server to set the detailed information about
// the system status.
FullStatus bool
// RestSemantics allows server to return 200 code even if the server
// status is unhealthy.
RESTSemantics bool
}