Documentation ¶
Index ¶
Constants ¶
View Source
const ( TestIP = "127.0.0.1" APIAddr = "http://" + TestIP + ":10002" WsAddr = "ws://" + TestIP + ":10001" Secret = "openIM123" PlatformID = constant.WindowsPlatformID LogLevel = 5 DataDir = "./data/" LogFilePath = "./logs/" AdminUserID = "imAdmin" IsLogStandardOutput = false )
View Source
const ( ErrGroupSmallLimit = 1 // max goroutine of a small error group ErrGroupMiddleSmallLimit = 5 // max goroutine of a middle small error group ErrGroupCommonLimit = 100 // max goroutine of a common error group )
View Source
const ( SleepSec = 30 CheckWaitSec = 5 // check wait sec ProgressWaitSec = 1 // progress bar update wait sec )
View Source
const ( CheckMsgRate = 0.1 // Sampling and statistical message ratio. Max check message is MaxCheckMsg MaxCheckMsg = 1e+5 )
View Source
const ( ReceiveMsgTimeThresholdLow = 1 // Receive msg time threshold low. Unit: s ReceiveMsgTimeThresholdMedium = 3 // Receive msg time threshold medium. Unit: s ReceiveMsgTimeThresholdHigh = 5 // Receive msg time threshold high. Unit: s )
View Source
const (
MaxUserNum = 1e+5 // max users
)
Variables ¶
This section is empty.
Functions ¶
func GetConf ¶
func GetConf() sdk_struct.IMConfig
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.