twister/internal/config/config.go

19 lines
225 B
Go
Raw Normal View History

2024-10-09 11:59:42 +00:00
package config
2024-10-09 12:18:31 +00:00
// Configuration
2024-10-09 11:59:42 +00:00
type Config struct {
Version string
2024-10-09 12:18:31 +00:00
*Server `toml:"server"`
2024-10-09 12:27:29 +00:00
*Log `toml:"log"`
2024-10-09 12:18:31 +00:00
}
// Server config
type Server struct {
Address string
2024-10-09 11:59:42 +00:00
}
2024-10-09 12:27:29 +00:00
// Log config
type Log struct {
Level string
}