18 lines
432 B
Go
18 lines
432 B
Go
package service
|
|
|
|
// Config represents the full configuration structure
|
|
type Config struct {
|
|
Server struct {
|
|
Host string `json:"host"`
|
|
Port int `json:"port"`
|
|
} `json:"server"`
|
|
Database struct {
|
|
Host string `json:"host"`
|
|
Port int `json:"port"`
|
|
Username string `json:"username"`
|
|
Password string `json:"password"`
|
|
Database string `json:"database"`
|
|
Prefix string `json:"prefix"`
|
|
} `json:"database"`
|
|
}
|