2024-06-02 13:07:09 +00:00
|
|
|
[server]
|
2024-06-06 18:15:27 +00:00
|
|
|
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
|
|
|
|
|
2024-06-06 18:15:27 +00:00
|
|
|
[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"
|