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"`

	StreamParserThrottle int
}
