package driverapp

import (
	"git.gocasts.ir/ebhomengo/niki/adapter/kavenegar"
	"git.gocasts.ir/ebhomengo/niki/adapter/redis"
	"git.gocasts.ir/ebhomengo/niki/driverapp/service"
	"git.gocasts.ir/ebhomengo/niki/pkg/http_server"
	"git.gocasts.ir/ebhomengo/niki/repository/mysql"
)

type Config struct {
	DriverSvc       service.Config     `koanf:"service"`
	HttpServer      http_server.Config `koanf:"http_server"`
	Redis           redis.Config       `koanf:"redis_db"`
	MysqlDB         mysql.Config       `koanf:"mysql_db"`
	Kavenegar       kavenegar.Config   `koanf:"kavenegar"`
	PathOfMigration string             `koanf:"path_of_migration"`
}
