func (srv *Server) Quit() error {
	srv.mu.Lock()
	srv.closed = true
	srv.mu.Unlock()
	return srv.listener.Close()
}
Quit closes down the server.
package servertest
import (
	"fmt"
	"net"
	"net/http"
	"sync"
	"github.com/p4tin/goaws/app/router"
	log "github.com/sirupsen/logrus"
	"github.com/p4tin/goaws/app"
	"strings"
)
type Server struct {
	closed   bool
	handler  http.Handler
	listener net.Listener
	mu       sync.Mutex
}