Supplyframe/grunf

Refactor adapters to have their own namespaces

Closed this issue · 1 comments

We already have two adapters: "Log4j" and "Graphite", now we are going to add "SMTP" adapter. It's better to separate them into individual namespaces.

The source structure becomes like this. bin.clj is the main entry, core.clj is the fetch function and callback definition, other clojure files are adapters that direct the output.

src
src/grunf
src/grunf/adapter
src/grunf/adapter/graphite.clj
src/grunf/adapter/log4j.clj
src/grunf/adapter/postal.clj
src/grunf/bin.clj
src/grunf/core.clj