config

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 Default

func Default() *Config

func New

func New() (*Config, error)

func NewFromFile

func NewFromFile(path string) (*Config, error)

func (*Config) GetDailTimeout

func (c *Config) GetDailTimeout() int64

func (*Config) GetFirstPollingInterval

func (c *Config) GetFirstPollingInterval() int64

func (*Config) GetFirstPollingTimes

func (c *Config) GetFirstPollingTimes() int64

func (*Config) GetGRPCPorts

func (c *Config) GetGRPCPorts() []string

func (*Config) GetInspectorAccountType

func (c *Config) GetInspectorAccountType() string

func (*Config) GetInspectorDefaultAccount

func (c *Config) GetInspectorDefaultAccount() string

func (*Config) GetLogDir

func (c *Config) GetLogDir() string

func (*Config) GetLogLevel

func (c *Config) GetLogLevel() string

func (*Config) GetMaxIdleConns

func (c *Config) GetMaxIdleConns() int

func (*Config) GetMaxIdleConnsPerHost

func (c *Config) GetMaxIdleConnsPerHost() int

func (*Config) GetMaxLifeTime

func (c *Config) GetMaxLifeTime() int64

func (*Config) GetMaxRecvMsgSize

func (c *Config) GetMaxRecvMsgSize() int

func (*Config) GetMaxSendMsgSize

func (c *Config) GetMaxSendMsgSize() int

func (*Config) GetMaxStreamLifeTime

func (c *Config) GetMaxStreamLifeTime() int64

func (*Config) GetNamespace

func (c *Config) GetNamespace() string

func (*Config) GetNodes

func (c *Config) GetNodes() []string

func (*Config) GetPriority added in v1.4.0

func (c *Config) GetPriority() []int

func (*Config) GetRPCPorts

func (c *Config) GetRPCPorts() []string

func (*Config) GetReConnectTime

func (c *Config) GetReConnectTime() int64

func (*Config) GetResendTime

func (c *Config) GetResendTime() int64

func (*Config) GetSdkcertPath

func (c *Config) GetSdkcertPath() string

func (*Config) GetSdkcertPrivPath

func (c *Config) GetSdkcertPrivPath() string

func (*Config) GetSecondPollingInterval

func (c *Config) GetSecondPollingInterval() int64

func (*Config) GetSecondPollingTimes

func (c *Config) GetSecondPollingTimes() int64

func (*Config) GetTitle

func (c *Config) GetTitle() string

func (*Config) GetTlsDomain

func (c *Config) GetTlsDomain() string

func (*Config) GetTlscaPath

func (c *Config) GetTlscaPath() string

func (*Config) GetTlspeerCertPath

func (c *Config) GetTlspeerCertPath() string

func (*Config) GetTlspeerPriv

func (c *Config) GetTlspeerPriv() string

func (*Config) GetTxVersion

func (c *Config) GetTxVersion() string

func (*Config) GetUniquePrivPath

func (c *Config) GetUniquePrivPath() string

func (*Config) GetUniquePubPath

func (c *Config) GetUniquePubPath() string

func (*Config) GetVipper

func (c *Config) GetVipper() *viper.Viper

func (*Config) GetWebSocketPorts

func (c *Config) GetWebSocketPorts() []string

func (*Config) IsCfca

func (c *Config) IsCfca() bool

func (*Config) IsHttps

func (c *Config) IsHttps() bool

func (*Config) IsInspectorEnable

func (c *Config) IsInspectorEnable() bool

func (*Config) IsSendTcert

func (c *Config) IsSendTcert() bool

func (*Config) SetIsHttps

func (c *Config) SetIsHttps(val bool)

func (*Config) SetTlsDomain

func (c *Config) SetTlsDomain(val string)

func (*Config) SetTlscaPath

func (c *Config) SetTlscaPath(val string)

func (*Config) SetTlspeerCertPath

func (c *Config) SetTlspeerCertPath(val string)

func (*Config) SetTlspeerPrivPath

func (c *Config) SetTlspeerPrivPath(val string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL