Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FilePath string
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LogConfig *logutil.Config `json:"log" yaml:"log" env:"LOG,default=" validate:"required"` GRPCLog *grpcwrap.LogConfig `json:"grpc_log" yaml:"grpc_log" env:"GRPC_LOG" validate:"required"` GRPCServer *grpcwrap.ServerConfig `json:"grpc_server" yaml:"grpc_server" env:"GRPC_SERVER" validate:"required"` MetricsServer *metrics.Config `json:"metrics_server" yaml:"metrics_server" env:"METRICS_SERVER" validate:"required"` MySQL *gormwrap.MySQLConfig `json:"mysql" yaml:"mysql" env:"MYSQL" validate:"required"` Redis *rediswrap.RedisConfig `json:"redis" yaml:"redis" env:"REDIS" validate:"required"` Qingcloud *iaas.Config `json:"iaas" yaml:"iaas" env:"IAAS" validate:"required"` Source string `json:"source" yaml:"source" env:"SOURCE" validate:"required"` Tracer *gtrace.Config `json:"tracer" yaml:"tracer" env:"TRACER" validate:"required"` }
Click to show internal directories.
Click to hide internal directories.