16 lines
238 B
Go
16 lines
238 B
Go
package msg
|
|
|
|
import (
|
|
"server/pkg/github.com/name5566/leaf/network/protobuf"
|
|
)
|
|
|
|
var Processor = protobuf.NewProcessor()
|
|
|
|
func init() {
|
|
Processor.Register(&ClientReq{})
|
|
|
|
Processor.Register(&Hello{})
|
|
Processor.Register(&ClientRes{})
|
|
|
|
}
|