device-data-api

module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: Apache-2.0

README

device-data-api

Serves the device data in all shapes, historical, rolled up, analytics, mostly from Elastic

Run locally:

cp settings.sampe.yaml settings.yaml Check settings and make sure make sense for your setup. You may need to be running docker compose elastic etc from devices-api. go run ./cmd/device-data-api/

Swagger generation

go install github.com/swaggo/swag/cmd/swag@latest
swag init -g cmd/device-data-api/main.go --parseDependency --parseInternal --generatedTime true
# optionally add `--parseDepth 2` if have issues

Directories

Path Synopsis
cmd
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag at 2022-04-28 11:39:30.04202 -0400 EDT m=+24.179949793
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag at 2022-04-28 11:39:30.04202 -0400 EDT m=+24.179949793
internal
services/mocks
Package mock_services is a generated GoMock package.
Package mock_services is a generated GoMock package.

Jump to

Keyboard shortcuts

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