Freyr is a golang web server used to store and retrieve plant environmental readings from a user's sensors. It handles user log-in with oauth and authorizes using HMAC signed JWTs.
More at: http://serdmanczyk.github.io.
|client||Package client is a convenience package that provides methods to interface with the Freyr server's HTTP API.|
|database||Package database defines method for interacting with PostgreSQL for persistent data.|
|envflags||Package envflags package houses the SetFlags and ConfigEmpty methods for conveniently specifiying config via a single struct.|
|fake||Package fake is a collection of in-memory or stand-in implementations of various interfaces in the project for usage in unit tests.|
|middleware||Package middleware defines HTTP middleware such as those used for user validation.|
|models||Package models defines data models such as those used to store users and readings.|
|oauth||Package oauth defines methods for handling Three-legged Oauth with various third-parties (e.g.|
|routes||Package routes defines HTTP routes for the Freyr api.|
|token||Package token defines methods and types for using and validating Freyr tokens in JWT format.|