Handlers, DB, Cache
This commit is contained in:
@@ -24,8 +24,23 @@ Log.FileEnabled = false
|
||||
# type: sqlite, postgres
|
||||
Database.Type =
|
||||
# connection string:
|
||||
# sqlite: flibooks.db
|
||||
# sqlite: payouts.db
|
||||
# postgres: host=127.0.0.1 user=gorm password=gorm dbname=gorm port=5432 sslmode=disable
|
||||
Database.Connection =
|
||||
# DB log level
|
||||
Database.LogLevel = Info
|
||||
# Trace all requests
|
||||
Database.TraceRequests = false
|
||||
|
||||
# Session cache TTL
|
||||
Cache.TTL = 24h
|
||||
|
||||
# Yookassa related props
|
||||
# Base API Url
|
||||
YooKassa.BaseUrl = https://api.yookassa.ru/v3
|
||||
# Base API key/secret
|
||||
YooKassa.ApiBaseKey =
|
||||
YooKassa.ApiBaseSecret =
|
||||
# Payments API key/secret
|
||||
YooKassa.ApiPaymentKey =
|
||||
YooKassa.ApiPaymentSecret =
|
||||
|
||||
Reference in New Issue
Block a user