Documentation ¶
Index ¶
- func JsonUnWarp(message []byte) (t string, data []byte, err error)
- func JsonWarp(t string, obj proto.Message) (data []byte, err error)
- func ProtobufUnWarp(b []byte) (t string, data []byte, err error)
- func ProtobufWarp(t string, obj proto.Message) (data []byte, err error)
- func RegHandler(t string, f func(*zzserver.Client, []byte))
- type P
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type P ¶
type P struct { }
func (P) OnConnected ¶
func (P) OnDisconnect ¶
func (P) OnServerClose ¶
func (p P) OnServerClose()
func (P) OnServerUpdate ¶
func (p P) OnServerUpdate()
Click to show internal directories.
Click to hide internal directories.