Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GnodeConfig ¶
type GnodeConfig struct { // node NodeId int NodeWeight int MsgTTR int MsgMaxRetry int MsgMaxPushNum int DataSavePath string EnableCluster bool EnableRaftd bool HeartbeatInterval int // gresiter GregisterAddr string // etcd EtcdEndPoints []string // raftd RaftdEndPoint string // http server HttpServAddr string HttpServEnableTls bool HttpServCertFile string HttpServKeyFile string // tcp server TcpServAddr string TcpServEnableTls bool TcpServCertFile string TcpServKeyFile string // report addr ReportHttpAddr string ReportTcpAddr string // log LogTargetType string LogFilename string LogLevel int LogMaxSize int LogRotate bool }
func (*GnodeConfig) SetDefault ¶
func (c *GnodeConfig) SetDefault()
func (*GnodeConfig) Validate ¶
func (c *GnodeConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.