Merge branch 'master' into lash/dbtx

This commit is contained in:
lash 2025-01-21 13:44:56 +00:00
commit 1c911ee73f
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ func (p *asyncRequestParser) GetInput(r any) ([]byte, error) {
func main() { func main() {
config.LoadConfig() config.LoadConfig()
var override config.Override var override config.Override
var sessionId string var sessionId string
var size uint var size uint

View File

@ -32,7 +32,7 @@ func (k KeyInfo) String() string {
func ToKeyInfo(k []byte, sessionId string) (KeyInfo, error) { func ToKeyInfo(k []byte, sessionId string) (KeyInfo, error) {
o := KeyInfo{} o := KeyInfo{}
o.SessionId = sessionId o.SessionId = sessionId
o.Typ = uint8(k[0]) o.Typ = uint8(k[0])
k = k[1:] k = k[1:]
@ -53,7 +53,7 @@ func ToKeyInfo(k []byte, sessionId string) (KeyInfo, error) {
k = k[2:] k = k[2:]
} }
return o, nil return o, nil
} }