Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServConf ¶
type ServConf struct { // rpc server listen port RpcPort int `yaml:"rpcPort,omitempty"` AdapterRpcPort int `yaml:"adapterRpcPort,omitempty"` AdapterGWPort int `yaml:"adapterGWPort,omitempty"` MetricPort int `yaml:"metricPort,omitempty"` EnableMetric bool `yaml:"enableMetric,omitempty"` EnableTls bool `yaml:"enableTls,omitempty"` EnableAdapter bool `yaml:"enableAdapter,omitempty"` EnableEndorser bool `yaml:"enableEndorser,omitempty"` EnableEvent bool `yaml:"enableEvent,omitempty"` EndorserHosts []string `yaml:"endorserHosts,omitempty"` AdapterAllowCROS bool `yaml:"adapterAllowCROS,omitempty"` MaxMsgSize int `yaml:"maxMsgSize,omitempty"` ReadBufSize int `yaml:"readBufSize,omitempty"` WriteBufSize int `yaml:"writeBufSize,omitempty"` InitWindowSize int32 `yaml:"initWindowSize,omitempty"` InitConnWindowSize int32 `yaml:"initConnWindowSize,omitempty"` TlsServerName string `yaml:"tlsServerName,omitempty"` EventAddrMaxConn int `yaml:"eventAddrMaxConn,omitempty"` }
func GetDefServConf ¶
func GetDefServConf() *ServConf
func LoadServConf ¶
Click to show internal directories.
Click to hide internal directories.