hack
This commit is contained in:
parent
b9a78fa3bf
commit
3017291b45
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue