package accountapp

import (
	"git.gocasts.ir/ebhomengo/niki/adapter/kavenegar"
	"git.gocasts.ir/ebhomengo/niki/adapter/redis"
	"git.gocasts.ir/ebhomengo/niki/domain/account/service"
	"git.gocasts.ir/ebhomengo/niki/pkg/database/mysql"
	"git.gocasts.ir/ebhomengo/niki/pkg/grpc"
)

type Config struct {
	accountSvc      service.Config   `koanf:"service"`
	Redis           redis.Config     `koanf:"redis_db"`
	MysqlDB         mysql.Config     `koanf:"mysql_db"`
	Kavenegar       kavenegar.Config `koanf:"kavenegar"`
	grpcServerCfg   grpc.Config      `koanf:"grpc_server"`
	grpcClientCfg   grpc.Client      `koanf:"grpc_client"`
	PathOfMigration string           `koanf:"path_of_migration"`
}
