twister/internal/config/config.go
2024-10-09 13:27:29 +01:00

19 lines
225 B
Go

package config
// Configuration
type Config struct {
Version string
*Server `toml:"server"`
*Log `toml:"log"`
}
// Server config
type Server struct {
Address string
}
// Log config
type Log struct {
Level string
}