Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Database string `yaml:"database"`
Port string `yaml:"port"`
Services []Service `yaml:"services"`
}
Configuration object.
type Service ¶
type Service struct {
Name string `yaml:"name"`
Label string `yaml:"label"`
Description string `yaml:"description"`
Url string `yaml:"url"`
Method string `yaml:"method"`
Body string `yaml:"body"`
Headers []Header `yaml:"headers"`
Interval int `yaml:"interval"`
}
Service object, stores details required for monitoring a service.
Click to show internal directories.
Click to hide internal directories.