f5/types.go
2023-08-13 14:10:13 +08:00

30 lines
378 B
Go

package f5
import (
"q5"
)
const (
WSPROXYPACKHEAD_C_SIZE = 20
WSPROXYPACKHEAD_S_SIZE = 16
NET_MSG_MAGIC_CODE = uint16('K') + uint16('S') << 8
)
type MsgNode struct {
}
type IMMsgNode struct {
msgId uint16
params q5.Args
next *IMMsgNode
}
type HandlerFunc func(*Context)
type middleware struct {
middlewareType int32
handlerFunc HandlerFunc
entry q5.ListHead
}