agent/agent.go
2017-05-11 18:39:01 +09:00

23 lines
457 B
Go

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, "")
}