Handlers, DB, Cache
This commit is contained in:
@@ -2,13 +2,18 @@ package config
|
||||
|
||||
import (
|
||||
logging "payouts/internal/log/config"
|
||||
cache "payouts/internal/service/cache/config"
|
||||
database "payouts/internal/service/database/config"
|
||||
monitoring "payouts/internal/service/monitoring/config"
|
||||
yookassa "payouts/internal/service/yookassa/config"
|
||||
)
|
||||
|
||||
type App struct {
|
||||
Server Server
|
||||
Metrics monitoring.Metrics
|
||||
Database database.Database
|
||||
Cache cache.Cache
|
||||
Log logging.Log
|
||||
|
||||
YooKassa yookassa.YooKassa
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user