messages

command module
v0.0.14 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: 12 Imported by: 0

README

messages

Build codecov Go Report Card GitHub go.mod Go version

Docker

docker pull ghcr.io/hidromatologia-v2/messages:latest
Compose example
docker compose up -d

Binary

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

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

Config

List of environment variables used by the binary. Make sure to setup them as well in your deployments

Variable Description Example
MEMPHIS_STATION Name for the station to CREATE/CONNECT messages
MEMPHIS_CONSUMER Name of the consumer. consumer-1
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 password
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
REDIS_ADDR Host and port of the Redis service. 10.10.10.10:9999
REDIS_DB Redis Database number. 1
SMTP_FROM Email address to setup as FROM in the sent messages sulcud@mail.com
SMTP_HOST Host of the SMTP server 10.10.10.10
SMTP_PORT Port of the SMTP server 25
SMTP_USERNAME Username to setup authentication sulcud
SMTP_PASSWORD Password to setup authentication password
SMTP_NO_TLS Bool Environment variable to setup 1

Coverage

coverage coverage

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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