device-data-api

module
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 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 2023-01-10 14:20:50.53923 -0500 EST m=+1.273991292
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag at 2023-01-10 14:20:50.53923 -0500 EST m=+1.273991292
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