增加消息发送

This commit is contained in:
duanhf2012
2020-03-28 12:02:22 +08:00
parent 7745ed39f3
commit d66995dd0f
3 changed files with 40 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
package network
type Processor interface {
// must goroutine safe
Route(msg interface{}, userData interface{}) error