github.com/lianghucheng/zrddz@v0.0.0-20200923083010-c71f680932e2/src/conf/conf.go (about)

     1  package conf
     2  
     3  import (
     4  	"log"
     5  	"time"
     6  )
     7  
     8  var (
     9  	// log conf
    10  	LogFlag = log.Lshortfile | log.LstdFlags
    11  
    12  	// gate conf
    13  	PendingWriteNum        = 2000
    14  	MaxMsgLen       uint32 = 8192
    15  	HTTPTimeout            = 10 * time.Second
    16  	LenMsgLen              = 2
    17  	LittleEndian           = false
    18  
    19  	// skeleton conf
    20  	GoLen              = 10000
    21  	TimerDispatcherLen = 10000
    22  	AsynCallLen        = 10000
    23  	ChanRPCLen         = 10000
    24  )