func NewAppServer(config Configer, logger Logger) *AppServer {
	server := &AppServer{
		config:    config,
		logger:    logger,
		requestID: DefaultRequestIDKey,
		localIfaces: []interface{}{
			debugger.NewRegistry(),
		},
	}
	server.AppGroup = NewAppGroup("/", server)
	server.ServerHooks = hooks.NewServerHooks()
	return server
}
NewAppServer returns *AppServer inited with args
package gogo
import (
	"context"
	"fmt"
	"net/http"
	"net/url"
	"os"
	"os/signal"
	"regexp"
	"strconv"
	"strings"
	"sync"
	"time"
	"github.com/dolab/gogo/internal/listeners"
	"github.com/dolab/gogo/pkgs/hooks"
	"github.com/dolab/gogo/pkgs/interceptors"
	"github.com/dolab/gogo/pkgs/interceptors/debugger"
	"golang.org/x/net/http2"
)
var (
	network2addr = regexp.MustCompile(`(?i)^(http|https|tcp|tcp4|tcp6|unix|unixpacket):/{1,3}?(.+)?`)
)
type AppServer struct {
	*AppGroup
	*hooks.ServerHooks
	config       Configer
	logger       Logger
	requestID    string    
	filterFields []string  
	localMux    sync.RWMutex
	localSig    chan os.Signal
	localAddr   string
	localIfaces []interface{}
	localServ   *http.Server
}