gopay/cmd/config.toml

23 lines
334 B
TOML

[server]
host = "127.0.0.1"
port = 8080
read_timeout = 10
write_timeout = 10
[database]
driver = "sqlite3"
url = "gopay.db"
max = 30
idle = 30
[auth]
secret = "a secret"
register = false
# https://pkg.go.dev/golang.org/x/crypto/bcrypt#pkg-constants
cost = 10
[log]
# https://pkg.go.dev/github.com/rs/zerolog#Level
level = "debug"