feat(api): prepare for svc implemention
This commit is contained in:
@@ -14,10 +14,9 @@ import (
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
IsLocal bool
|
||||
Debug bool `mapstructure:"debug"`
|
||||
HTTPPort int `mapstructure:"http_port" validate:"required"`
|
||||
PrometheusPort int `mapstructure:"prometheus_port" validate:"required"`
|
||||
IsLocal bool
|
||||
Debug bool `mapstructure:"debug"`
|
||||
HTTPPort int `mapstructure:"http_port" validate:"required"`
|
||||
|
||||
Databases struct {
|
||||
OSS string `mapstructure:"oss" validate:"required"`
|
||||
|
||||
Reference in New Issue
Block a user