This commit is contained in:
Cadey Ratio 2018-01-21 09:10:07 -08:00
parent b9a78fa3bf
commit 3017291b45
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@ import (
"git.xeserv.us/xena/route/internal/tun2" "git.xeserv.us/xena/route/internal/tun2"
proto "git.xeserv.us/xena/route/proto" proto "git.xeserv.us/xena/route/proto"
"github.com/Xe/ln" "github.com/Xe/ln"
"github.com/kr/pretty"
"github.com/lucas-clemente/quic-go/h2quic" "github.com/lucas-clemente/quic-go/h2quic"
"github.com/mtneug/pkg/ulid" "github.com/mtneug/pkg/ulid"
kcp "github.com/xtaci/kcp-go" kcp "github.com/xtaci/kcp-go"
@ -163,6 +164,8 @@ func New(cfg Config) (*Server, error) {
Handler: middleware.SaveHeaders(middleware.Trace("twirp-https")(mux)), Handler: middleware.SaveHeaders(middleware.Trace("twirp-https")(mux)),
} }
pretty.Println(mux)
go hs.ListenAndServeTLS("", "") go hs.ListenAndServeTLS("", "")
return s, nil return s, nil