stations

command module
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2023 License: BSD-3-Clause Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Stations

Build codecov Go Report Card GitHub go.mod Go version

Stations microservice API

Documentation

File Description
docs/spec.openapi.yaml OpenAPI specification for this microservice.

Installation

Docker
docker pull ghcr.io/hidromatologia-v2/stations:0.0.2
Docker compose
docker compose -f ./docker-compose.dev.yaml up -d
Binary

You can use the binary present in Releases. Or compile your own with.

go install github.com/hidromatologia-v2/stations@latest

Config

Variable Description Example
MEMPHIS_STATION Name for the station to CREATE/CONNECT alerts
MEMPHIS_PRODUCER Alerts producer name alerts-producer
MEMPHIS_HOST Host or IP of the Memphis service 10.10.10.10
MEMPHIS_USERNAME Memphis Username root
MEMPHIS_PASSWORD Memphis password, if ignored MEMPHIS_CONN_TOKEN will be used memphis
MEMPHIS_CONN_TOKEN Memphis connection token, if ignored MEMPHIS_PASSWORD will be used ABCD
POSTGRES_DSN Postgres DSN to be used host=127.0.0.1 user=sulcud password=sulcud dbname=sulcud port=5432 sslmode=disable
Binary
stations HOST:PORT [HOST:PORT [...]]

Coverage

coverage coverage

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
cmd/station command

Jump to

Keyboard shortcuts

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