1
0
mirror of https://github.com/alice-lg/alice-lg.git synced 2024-05-11 05:55:03 +00:00

24 lines
831 B
Go
Raw Normal View History

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"`
Timezone string `ini:"timezone"`
ServerTime string `ini:"servertime"`
ServerTimeShort string `ini:"servertime_short"`
ServerTimeExt string `ini:"servertime_ext"`
ShowLastReboot bool `ini:"show_last_reboot"`
Type string `ini:"type"`
2021-04-15 18:59:22 +02:00
MainTable string `ini:"main_table"`
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"`
NeighborsRefreshTimeout int `ini:"neighbors_refresh_timeout"`
2017-05-16 14:10:19 +02:00
}