This repository has been archived on 2026-01-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Game/Server/Gateway/handler/ws_handler/event.go

19 lines
236 B
Go

package ws_handler
import (
"google.golang.org/protobuf/proto"
)
type Event interface {
}
// ClientEvent 客户端发过来的Event
type ClientEvent struct {
Event
Msg proto.Message
}
type RemoveConnectionEvent struct {
Event
}