package
Version:
v0.1.8
Opens a new window with list of versions in this module.
Published: Dec 9, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Announcer struct {
RouterID string `json:"router_id"`
LocalAddress string `json:"local_address"`
LocalASN uint32 `json:"local_asn"`
Routes []string `json:"routes"`
Peers []Peer `json:"peers"`
}
type Config struct {
Announcer Announcer `json:"announcer"`
Services []Service `json:"services"`
Metrics Metrics `json:"metrics"`
}
type Metrics struct {
Enabled bool `json:"enabled"`
Address string `json:"address"`
}
type Peer struct {
Name string `json:"name"`
RemoteAddress string `json:"remote_address"`
RemoteASN uint32 `json:"remote_asn"`
}
type Service struct {
Name string `json:"name"`
CheckInterval th.Duration `json:"check_interval"`
Checks []Check `json:"checks"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.