mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-07-03 11:53:43 +02:00
src/api/interface.go: Adding ApiArguments struct.
This commit is contained in:
parent
8079962be8
commit
0081f86f0d
1 changed files with 10 additions and 0 deletions
|
|
@ -5,6 +5,16 @@ import (
|
||||||
"github.com/eosswedenorg-go/haproxy/agentcheck"
|
"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 {
|
type ApiInterface interface {
|
||||||
|
|
||||||
// Returns Logging information
|
// Returns Logging information
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue