Documentation
¶
Index ¶
- type Config
- func (c *Config) GetDailTimeout() int64
- func (c *Config) GetFirstPollingInterval() int64
- func (c *Config) GetFirstPollingTimes() int64
- func (c *Config) GetGRPCPorts() []string
- func (c *Config) GetInspectorAccountType() string
- func (c *Config) GetInspectorDefaultAccount() string
- func (c *Config) GetLogDir() string
- func (c *Config) GetLogLevel() string
- func (c *Config) GetMaxIdleConns() int
- func (c *Config) GetMaxIdleConnsPerHost() int
- func (c *Config) GetMaxLifeTime() int64
- func (c *Config) GetMaxRecvMsgSize() int
- func (c *Config) GetMaxSendMsgSize() int
- func (c *Config) GetMaxStreamLifeTime() int64
- func (c *Config) GetNamespace() string
- func (c *Config) GetNodes() []string
- func (c *Config) GetPriority() []int
- func (c *Config) GetRPCPorts() []string
- func (c *Config) GetReConnectTime() int64
- func (c *Config) GetResendTime() int64
- func (c *Config) GetSdkcertPath() string
- func (c *Config) GetSdkcertPrivPath() string
- func (c *Config) GetSecondPollingInterval() int64
- func (c *Config) GetSecondPollingTimes() int64
- func (c *Config) GetTitle() string
- func (c *Config) GetTlsDomain() string
- func (c *Config) GetTlscaPath() string
- func (c *Config) GetTlspeerCertPath() string
- func (c *Config) GetTlspeerPriv() string
- func (c *Config) GetTxVersion() string
- func (c *Config) GetUniquePrivPath() string
- func (c *Config) GetUniquePubPath() string
- func (c *Config) GetVipper() *viper.Viper
- func (c *Config) GetWebSocketPorts() []string
- func (c *Config) IsCfca() bool
- func (c *Config) IsHttps() bool
- func (c *Config) IsInspectorEnable() bool
- func (c *Config) IsSendTcert() bool
- func (c *Config) SetIsHttps(val bool)
- func (c *Config) SetTlsDomain(val string)
- func (c *Config) SetTlscaPath(val string)
- func (c *Config) SetTlspeerCertPath(val string)
- func (c *Config) SetTlspeerPrivPath(val string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func NewFromFile ¶
func (*Config) GetDailTimeout ¶
func (*Config) GetFirstPollingInterval ¶
func (*Config) GetFirstPollingTimes ¶
func (*Config) GetGRPCPorts ¶
func (*Config) GetInspectorAccountType ¶
func (*Config) GetInspectorDefaultAccount ¶
func (*Config) GetLogLevel ¶
func (*Config) GetMaxIdleConns ¶
func (*Config) GetMaxIdleConnsPerHost ¶
func (*Config) GetMaxLifeTime ¶
func (*Config) GetMaxRecvMsgSize ¶
func (*Config) GetMaxSendMsgSize ¶
func (*Config) GetMaxStreamLifeTime ¶
func (*Config) GetNamespace ¶
func (*Config) GetPriority ¶ added in v1.4.0
func (*Config) GetRPCPorts ¶
func (*Config) GetReConnectTime ¶
func (*Config) GetResendTime ¶
func (*Config) GetSdkcertPath ¶
func (*Config) GetSdkcertPrivPath ¶
func (*Config) GetSecondPollingInterval ¶
func (*Config) GetSecondPollingTimes ¶
func (*Config) GetTlsDomain ¶
func (*Config) GetTlscaPath ¶
func (*Config) GetTlspeerCertPath ¶
func (*Config) GetTlspeerPriv ¶
func (*Config) GetTxVersion ¶
func (*Config) GetUniquePrivPath ¶
func (*Config) GetUniquePubPath ¶
func (*Config) GetWebSocketPorts ¶
func (*Config) IsInspectorEnable ¶
func (*Config) IsSendTcert ¶
func (*Config) SetIsHttps ¶
func (*Config) SetTlsDomain ¶
func (*Config) SetTlscaPath ¶
func (*Config) SetTlspeerCertPath ¶
func (*Config) SetTlspeerPrivPath ¶
Click to show internal directories.
Click to hide internal directories.