mikapod-localstorage

command module
v0.0.0-...-95ac96d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2021 License: BSD-3-Clause Imports: 1 Imported by: 0

README

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.

  • Go 1.15.6

Installation

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
app
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL