bug repair when high concurrent

This commit is contained in:
刘河
2019-02-18 01:05:05 +08:00
parent 48c7309973
commit dab51c32a2
14 changed files with 229 additions and 242 deletions

View File

@@ -12,6 +12,11 @@ import (
"sync"
)
type Service interface {
Start() error
Close() error
}
//server base struct
type server struct {
id int