package shoppingbasketapp

import (
	"git.gocasts.ir/ebhomengo/niki/adapter/redis"
	"git.gocasts.ir/ebhomengo/niki/domain/shoppingbasket/repository"
	"git.gocasts.ir/ebhomengo/niki/pkg/database/mysql"
	"git.gocasts.ir/ebhomengo/niki/pkg/httpserver"
	logger "git.gocasts.ir/ebhomengo/niki/pkg/logger"
)

type Config struct {
	Redis           redis.Config      `koanf:"redis" json:"redis"`
	Mysql           mysql.Config      `koanf:"mysql" json:"mysql"`
	Repo            repository.Config `koanf:"repo" json:"repo"`
	HTTPServer      httpserver.Config `koanf:"http_server" json:"http_server"`
	Logger          logger.Config     `koanf:"logger" json:"logger"`
	PathOfMigration string            `koanf:"path_of_migration" json:"path_of_migration"`
}
