Skip to content

Commit

Permalink
clean architecture (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvek authored Jun 17, 2024
1 parent 68288c5 commit ffc53b5
Show file tree
Hide file tree
Showing 21 changed files with 465 additions and 395 deletions.
2 changes: 2 additions & 0 deletions datastore/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ domotik/sensors.db
domotik/sensors.db-shm
domotik/sensors.db-wal
domotik/state.json

datastore
2 changes: 1 addition & 1 deletion datastore/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN CGO_ENABLED=0 go build
FROM gcr.io/distroless/static
COPY --from=builder /domotik/datastore /datastore

ENV MQTT_HOST=mosquitto
ENV MQTT_HOST=tcp://mosquitto:1883
ENV DB_PATH=/database/

CMD ["/datastore"]
38 changes: 0 additions & 38 deletions datastore/domotik/application.go

This file was deleted.

15 changes: 0 additions & 15 deletions datastore/domotik/broker/client.go

This file was deleted.

84 changes: 0 additions & 84 deletions datastore/domotik/broker/mqtt.go

This file was deleted.

158 changes: 0 additions & 158 deletions datastore/domotik/compute/engine.go

This file was deleted.

6 changes: 0 additions & 6 deletions datastore/domotik/database/client.go

This file was deleted.

Loading

0 comments on commit ffc53b5

Please sign in to comment.