Categorygithub.com/mnezerka/go-piot
modulepackage
1.0.7
Repository: https://github.com/mnezerka/go-piot.git
Documentation: pkg.go.dev

# 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

  1. Run mongodb docker container::

    docker-compose up -d mongodb

  2. Run script scripts/env.sh to get IP address of mongo container and set env variable for piot server

  3. 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

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# 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