minor cleanup
This commit is contained in:
parent
7185d84eac
commit
5223b6fe85
4
main.go
4
main.go
@ -25,10 +25,10 @@ import (
|
|||||||
var Version string
|
var Version string
|
||||||
var apiToken string
|
var apiToken string
|
||||||
|
|
||||||
var usage string = `Telegram List bot
|
var usage = `Telegram List bot
|
||||||
Environment variables:
|
Environment variables:
|
||||||
TGLB_API_TOKEN (required) : See https://core.telegram.org/bots#how-do-i-create-a-bot
|
TGLB_API_TOKEN (required) : See https://core.telegram.org/bots#how-do-i-create-a-bot
|
||||||
TGLB_ADDR (default 28923) : See https://pkg.go.dev/go.balki.me/anyhttp#readme-address-syntax
|
TGLB_ADDR (default 28923) : See https://pkg.go.dev/go.balki.me/anyhttp#readme-address-syntax
|
||||||
TGLB_DATA_PATH (default .) : Directory path where list data is stored
|
TGLB_DATA_PATH (default .) : Directory path where list data is stored
|
||||||
TGLB_TIMEOUT (default 30m) : Timeout to auto shutdown if using systemd-fd, See https://pkg.go.dev/time#ParseDuration
|
TGLB_TIMEOUT (default 30m) : Timeout to auto shutdown if using systemd-fd, See https://pkg.go.dev/time#ParseDuration
|
||||||
`
|
`
|
||||||
|
Loading…
Reference in New Issue
Block a user