commit 8cb734da7f29a85704cc345fa1309562aaf073f1 Author: geek Date: Thu May 11 18:39:01 2017 +0900 init diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b72e5fe --- /dev/null +++ b/.gitignore @@ -0,0 +1,62 @@ +# Created by .ignore support plugin (hsz.mobi) +### Go template +# Binaries for programs and plugins +*.exe +*.dll +*.so +*.dylib + +# Test binary, build with `go test -c` +*.test + +# Output of the go coverage tool, specifically when used with LiteIDE +*.out + +# Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736 +.glide/ +### JetBrains template +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff: +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/dictionaries + +# Sensitive or high-churn files: +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.xml +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml + +# Gradle: +.idea/**/gradle.xml +.idea/**/libraries + +# Mongo Explorer plugin: +.idea/**/mongoSettings.xml + +## File-based project format: +*.iws + +## Plugin-specific files: + +# IntelliJ +/out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +.idea/ 제거할 예정 diff --git a/agent.go b/agent.go new file mode 100644 index 0000000..c064b80 --- /dev/null +++ b/agent.go @@ -0,0 +1,23 @@ +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, "") + +} \ No newline at end of file