agent/agent.go

23 lines
457 B
Go
Raw Normal View History

2017-05-11 09:39:01 +00:00
package main
import (
"loafle.com/overflow/agent_api/observer"
"loafle.com/overflow/agent_api/observer/messages"
_ "loafle.com/overflow/config_manager_go"
_ "loafle.com/overflow/crawler_manager_go"
_ "loafle.com/overflow/collector"
_ "loafle.com/overflow/data_sender_go"
_ "loafle.com/overflow/event_sender"
_ "loafle.com/overflow/long_poller_go"
)
func main() {
initAgent()
}
func initAgent() {
observer.Notify(messages.AGT_STARTING, "")
}