forked from External/ergo
get rid of unnecessary concurrency for channels and clients
This commit is contained in:
parent
54ca916c85
commit
4e56ea1bdc
6 changed files with 172 additions and 334 deletions
|
|
@ -192,15 +192,6 @@ type RegServerCommand interface {
|
|||
HandleRegServer(*Server)
|
||||
}
|
||||
|
||||
type ChannelCommand interface {
|
||||
Command
|
||||
HandleChannel(channel *Channel)
|
||||
}
|
||||
|
||||
type ClientCommand interface {
|
||||
HandleClient(client *Client)
|
||||
}
|
||||
|
||||
//
|
||||
// structs
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue