# README
PIOT Golang
.. image:: https://dev.azure.com/michalnezerka/PIOT/_apis/build/status/mnezerka.go-piot?branchName=master
Golang package provides services and utilities for PIOT infrastructure tools.
Development environment - minimal
-
Run mongodb docker container::
docker-compose up -d mongodb
-
Run script
scripts/env.sh
to get IP address of mongo container and set env variable for piot server -
Run tests (not in parallel since shared mongodb is used)::
all tests
go test
tests for selected test case (matched against regexp)
go test --run ShortNotation
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewLogger creates instance of logger that should be used in all server handlers and routines.
No description provided by the author
No description provided by the author
No description provided by the author
constructor.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
topic name used for publishing sensor readings.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author