Files
phylum/server/internal/command/config.go
T
2025-06-05 21:10:29 +05:30

21 lines
635 B
Go

package command
import (
"github.com/shroff/phylum/server/internal/command/serve"
"github.com/shroff/phylum/server/internal/core"
"github.com/shroff/phylum/server/internal/crypt"
"github.com/shroff/phylum/server/internal/db"
"github.com/shroff/phylum/server/internal/mail"
"github.com/shroff/phylum/server/internal/storage"
)
type Config struct {
Debug bool `koanf:"debug"`
DB db.Config `koanf:"db"`
Storage storage.Config `koanf:"storage"`
Server serve.Config `koanf:"server"`
Mail mail.Config `koanf:"mail"`
User core.Config `koanf:"user"`
Crypt crypt.Config `koanf:"crypt"`
}