mirror of
https://github.com/bensema/gotdx.git
synced 2025-11-21 02:45:33 +08:00
readme
This commit is contained in:
@@ -4,7 +4,7 @@ import (
|
||||
"bytes"
|
||||
"encoding/binary"
|
||||
"encoding/hex"
|
||||
"gotdx/utils"
|
||||
"gotdx/util"
|
||||
)
|
||||
|
||||
type Hello1 struct {
|
||||
@@ -59,7 +59,7 @@ func (obj *Hello1) Serialize() ([]byte, error) {
|
||||
func (obj *Hello1) UnSerialize(header interface{}, data []byte) error {
|
||||
obj.respHeader = header.(*RespHeader)
|
||||
|
||||
serverInfo := utils.Utf8ToGbk(data[68:])
|
||||
serverInfo := util.Utf8ToGbk(data[68:])
|
||||
|
||||
obj.reply.Info = serverInfo
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user