Versions in this module Expand all Collapse all v1 v1.1.3 Dec 25, 2020 v1.1.1 Dec 19, 2020 Changes in this version + const WindPlayGzipON + const WindPlayGzipOff + var GzipMiniSize int32 = 512 + var IsGzipOpen = false + var WriterPool = sync.Pool + func GzipDecode(in []byte) ([]byte, error) + func GzipEncode(in []byte) ([]byte, error) + func Initialize(openGzip bool, minSize int32) + func Prepare(ctx *gin.Context) (*Request, *Respon) + type GzipWriter struct + type MessageCachePostHandler interface + Handle func(userId uint64, form *proto.ST_ResponForm_PB) + type MessageCacheProcessHandler interface + Handle func(userId uint64, input map[string]*MessageCacheProcessParam) + type MessageCacheProcessParam struct + Bytes []byte + RepeatTimes uint32 + Version uint64 + type Request struct + func (this *Request) Body() []byte + func (this *Request) GetInt32(key string) int32 + func (this *Request) GetInt64(key string) int64 + func (this *Request) GetString(key string) string + func (this *Request) GetUint32(key string) uint32 + func (this *Request) GetUint64(key string) uint64 + func (this *Request) Set(key, value string) + func (this *Request) String() string + type Respon struct + func (this *Respon) Add(key string, value interface{}) + func (this *Respon) AddMap(in map[string]interface{}) + func (this *Respon) Send() + func (this *Respon) SendBody(body []byte)