1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-api-healthcheck synced 2026-06-18 05:00:03 +02:00

src/api/interface.go: Adding ApiArguments struct.

This commit is contained in:
Henrik Hautakoski 2022-10-25 17:18:21 +02:00
parent 8079962be8
commit 0081f86f0d
No known key found for this signature in database
GPG key ID: 608414D93E862CCD

View file

@ -5,6 +5,16 @@ import (
"github.com/eosswedenorg-go/haproxy/agentcheck"
)
/**
* Generic struct that is passed to factory functions
* to configure the API request.
*/
type ApiArguments struct {
Url string
Host string
NumBlocks int
}
type ApiInterface interface {
// Returns Logging information