diff --git a/src/cljc/.gitkeep-cljc b/src/cljc/clj_brokee/.gitkeep-cljc similarity index 100% rename from src/cljc/.gitkeep-cljc rename to src/cljc/clj_brokee/.gitkeep-cljc diff --git a/src/cljc/broker.cljc b/src/cljc/clj_brokee/broker.cljc similarity index 100% rename from src/cljc/broker.cljc rename to src/cljc/clj_brokee/broker.cljc diff --git a/src/cljc/broker/simple.cljc b/src/cljc/clj_brokee/broker/simple.cljc similarity index 100% rename from src/cljc/broker/simple.cljc rename to src/cljc/clj_brokee/broker/simple.cljc diff --git a/src/cljc/consumer.cljc b/src/cljc/clj_brokee/consumer.cljc similarity index 100% rename from src/cljc/consumer.cljc rename to src/cljc/clj_brokee/consumer.cljc diff --git a/src/cljc/consumer/simple.cljc b/src/cljc/clj_brokee/consumer/simple.cljc similarity index 100% rename from src/cljc/consumer/simple.cljc rename to src/cljc/clj_brokee/consumer/simple.cljc diff --git a/src/cljc/producer.cljc b/src/cljc/clj_brokee/producer.cljc similarity index 100% rename from src/cljc/producer.cljc rename to src/cljc/clj_brokee/producer.cljc diff --git a/src/cljc/producer/simple.cljc b/src/cljc/clj_brokee/producer/simple.cljc similarity index 100% rename from src/cljc/producer/simple.cljc rename to src/cljc/clj_brokee/producer/simple.cljc diff --git a/src/cljc/util.cljc b/src/cljc/clj_brokee/util.cljc similarity index 100% rename from src/cljc/util.cljc rename to src/cljc/clj_brokee/util.cljc diff --git a/src/cljc/core.cljc b/src/cljc/core.cljc deleted file mode 100644 index e9ba8b0..0000000 --- a/src/cljc/core.cljc +++ /dev/null @@ -1,26 +0,0 @@ -(ns clj-brokee.core - (:require [clj-brokee.util :as u])) - - - - -(defprotocol Publisher - (publish* [this data])) - -(defprotocol Subscriber - (handler [this])) - - -(defn publish [publisher topic message] - (publish* publisher {:topic topic - :message message})) - - -(defn subscribe [subscriber topics handler]) - - -(defn make-broker []) - -(defn make-publisher [broker]) - -(defn make-subscriber [broker topics handler])