mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-06-18 05:00:03 +02:00
src/api/interface.go: remove Name() and define LogInfo() instead.
This commit is contained in:
parent
400ec204bc
commit
8e41cbfc5b
4 changed files with 19 additions and 8 deletions
|
|
@ -7,8 +7,8 @@ import (
|
|||
|
||||
type ApiInterface interface {
|
||||
|
||||
// Name of the api
|
||||
Name() string
|
||||
// Returns Logging information
|
||||
LogInfo() []interface{}
|
||||
|
||||
// Call api and validate it's status.
|
||||
Call() (haproxy.HealthCheckStatus, string)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue