diff --git a/src/api/interface.go b/src/api/interface.go index 910b6ac..e6233bc 100644 --- a/src/api/interface.go +++ b/src/api/interface.go @@ -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