mirror of
https://github.com/alice-lg/alice-lg.git
synced 2024-05-11 05:55:03 +00:00
24 lines
831 B
Go
24 lines
831 B
Go
package birdwatcher
|
|
|
|
// Config contains all configuration attributes
|
|
// for a birdwatcher based source.
|
|
type Config struct {
|
|
ID string
|
|
Name string
|
|
|
|
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"`
|
|
MainTable string `ini:"main_table"`
|
|
PeerTablePrefix string `ini:"peer_table_prefix"`
|
|
PipeProtocolPrefix string `ini:"pipe_protocol_prefix"`
|
|
AltPipeProtocolPrefix string `ini:"alt_pipe_protocol_prefix"`
|
|
AltPipeProtocolSuffix string `ini:"alt_pipe_protocol_suffix"`
|
|
NeighborsRefreshTimeout int `ini:"neighbors_refresh_timeout"`
|
|
}
|