SetDomain use to set the server domain.
(dom *domain.Domain)
| 219 | |
| 220 | // SetDomain use to set the server domain. |
| 221 | func (s *Server) SetDomain(dom *domain.Domain) { |
| 222 | s.dom = dom |
| 223 | } |
| 224 | |
| 225 | // newConn creates a new *clientConn from a net.Conn. |
| 226 | // It allocates a connection ID and random salt data for authentication. |
no outgoing calls