2017-05-16 14:10:19 +02:00
|
|
|
package birdwatcher
|
|
|
|
|
2021-07-02 14:30:43 +02:00
|
|
|
// Config contains all configuration attributes
|
|
|
|
// for a birdwatcher based source.
|
2017-05-16 14:10:19 +02:00
|
|
|
type Config struct {
|
2021-07-02 14:30:43 +02:00
|
|
|
ID string
|
2017-06-19 15:27:11 +02:00
|
|
|
Name string
|
|
|
|
|
2021-07-02 14:30:43 +02:00
|
|
|
API string `ini:"api"`
|
2017-10-19 14:16:03 +02:00
|
|
|
Timezone string `ini:"timezone"`
|
|
|
|
ServerTime string `ini:"servertime"`
|
|
|
|
ServerTimeShort string `ini:"servertime_short"`
|
|
|
|
ServerTimeExt string `ini:"servertime_ext"`
|
|
|
|
ShowLastReboot bool `ini:"show_last_reboot"`
|
2018-07-16 16:30:39 +02:00
|
|
|
|
2019-03-04 18:52:49 +01:00
|
|
|
Type string `ini:"type"`
|
2021-04-15 18:59:22 +02:00
|
|
|
MainTable string `ini:"main_table"`
|
2019-03-04 18:52:49 +01:00
|
|
|
PeerTablePrefix string `ini:"peer_table_prefix"`
|
|
|
|
PipeProtocolPrefix string `ini:"pipe_protocol_prefix"`
|
2022-02-01 19:24:20 +01:00
|
|
|
AltPipeProtocolPrefix string `ini:"alt_pipe_protocol_prefix"`
|
|
|
|
AltPipeProtocolSuffix string `ini:"alt_pipe_protocol_suffix"`
|
2019-03-04 18:52:49 +01:00
|
|
|
NeighborsRefreshTimeout int `ini:"neighbors_refresh_timeout"`
|
2017-05-16 14:10:19 +02:00
|
|
|
}
|