Mikapod Storage
Currently unde development
Overview
The purpose of this application is to provide a local database tailored for storage of data for a Mikapod IOT modules and be accessible with remote procedure calls (RPC). The available operations are as follows:
-
Create time-series datum
-
List Time Series Data
-
Delete time series data
Background
What is a Mikapod (MP)? A MP is a small micro-service golang
application which runs in the background of any device serving somesort of purpose. The purpose of a MP is dedicate a specific set of functionality and have it easily composable with other MP to allow rapid software development for IOT devices.
All MP communicate internally using the net/rpc
library. If you want specific external communication (ex: net/http
) then you must choose the appropriate MP
to handle it.
Prerequisites
You must have the following installed before proceeding. If you are missing any one of these then you cannot begin.
Installation
-
Download the source code, build and install the application.
GO111MODULE=on go get -u github.com/bartmika/mikapod-localstorage
Usage
Run our application.
mikapod-localstorage serve
View the latest records
mikapod-localstorage print --lines 100
- You now should see a message saying
Started storage service
then the application is running.
License
This application is licensed under the BSD license. See LICENSE for more information.