gopay/cmd/config.toml

23 lines
334 B
TOML
Raw Normal View History

2024-06-02 13:07:09 +00:00
[server]
host = "127.0.0.1"
port = 8080
2024-06-02 13:07:09 +00:00
read_timeout = 10
write_timeout = 10
2024-06-02 11:57:14 +00:00
[database]
2024-06-02 11:58:48 +00:00
driver = "sqlite3"
2024-06-02 11:57:14 +00:00
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
2024-06-02 11:57:14 +00:00
[log]
# https://pkg.go.dev/github.com/rs/zerolog#Level
level = "debug"