Documentation
¶
Overview ¶
Package config 配置
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// App 应用配置
App appConfig `mapstructure:"app"`
// Proxy 代理配置
MITMProxy mitmProxyConfig `mapstructure:"mitmProxy"`
}
Config 配置
type RuntimeMode ¶
type RuntimeMode string
RuntimeMode 运行模式
func (RuntimeMode) IsDev ¶
func (m RuntimeMode) IsDev() bool
func (RuntimeMode) IsProd ¶
func (m RuntimeMode) IsProd() bool
Click to show internal directories.
Click to hide internal directories.