mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-01-05 11:10:47 -06:00
21 lines
660 B
Go
21 lines
660 B
Go
package command
|
|
|
|
import (
|
|
"github.com/shroff/phylum/server/internal/command/serve"
|
|
"github.com/shroff/phylum/server/internal/core/db"
|
|
"github.com/shroff/phylum/server/internal/core/storage"
|
|
"github.com/shroff/phylum/server/internal/core/user"
|
|
"github.com/shroff/phylum/server/internal/core/util/crypt"
|
|
"github.com/shroff/phylum/server/internal/mail"
|
|
)
|
|
|
|
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 user.Config `koanf:"user"`
|
|
Crypt crypt.Config `koanf:"crypt"`
|
|
}
|