Gate recv client request.
| 27 | |
| 28 | // Gate recv client request. |
| 29 | type Gate struct { |
| 30 | host string |
| 31 | store *store |
| 32 | master *util.Master |
| 33 | notice *util.Notice |
| 34 | sessions map[string]*session |
| 35 | ids map[int64]*session |
| 36 | sync.RWMutex |
| 37 | healthServer *health.Server // nil means disabled |
| 38 | } |
| 39 | |
| 40 | // NewGate new gate server. |
| 41 | func NewGate() *Gate { |
nothing calls this directly
no outgoing calls
no test coverage detected