dfon

command module
v0.0.0-...-ecc1c5d Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2020 License: MIT Imports: 5 Imported by: 0

README

dfon

This program checks for auto incrementing fileds of tables of database and notifies on given emails if any of the fields is about to run out of its datatypes range.

Config file format

{
    "databases": [
        {
            "host": "localhost",
            "port: 1234,
            "user": "test",
            "password": "passwd",
            "notify_list": ["abc@xyz.com", "test@test.com"],
            "threshold": 92.1,
            "type": "postgres"
        },
        {
            "host": "localhost",
            "port: 1234,
            "user": "test",
            "password": "passwd",
            "notify_list": ["abc@xyz.com", "test@test.com"],
            "threshold": 92.1,
            "type": "mysql"
        }
    ]
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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