[MM-56348] system/ping: add new method with options (#26079)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
0aaa047ea3
Коммит
7d8a56019b
@@ -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
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user