server.go
func NewServer(addr string) *Server {
	s := &Server{
		addr:           addr,
		conns:          cmap.New(),
		disconnHandler: func(c *Conn) {},
	}
	s.running.Store(false)
	return s
}
func NewServer(addr string) *Server {
	s := &Server{
		addr:           addr,
		conns:          cmap.New(),
		disconnHandler: func(c *Conn) {},
	}
	s.running.Store(false)
	return s
}
func NewServer ( addr string ) * Server { s := & Server { addr : addr , conns : cmap . New ( ) , disconnHandler : func ( c * Conn ) { } , } s . running . Store ( false ) return s }
// NewServer creates a new Neptulon server.
// addr should be formatted as host:port (i.e. 127.0.0.1:3000)
NewServer creates a new Neptulon server . addr should be formatted as host : port ( i . e . 127 . 0 . 0 . 1 : 3000 )