update metrics

This commit is contained in:
ginuerzh
2022-03-14 22:03:25 +08:00
parent ba23628a0e
commit 7915c0401c
19 changed files with 49 additions and 39 deletions

View File

@ -8,11 +8,11 @@ import (
"net/http/httputil"
"github.com/go-gost/gost/v3/pkg/common/admission"
"github.com/go-gost/gost/v3/pkg/common/metrics"
"github.com/go-gost/gost/v3/pkg/listener"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
metrics "github.com/go-gost/metrics/wrapper"
"golang.org/x/net/http2"
"golang.org/x/net/http2/h2c"
)

View File

@ -6,11 +6,11 @@ import (
"net/http"
"github.com/go-gost/gost/v3/pkg/common/admission"
"github.com/go-gost/gost/v3/pkg/common/metrics"
"github.com/go-gost/gost/v3/pkg/listener"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
metrics "github.com/go-gost/metrics/wrapper"
http2_util "github.com/go-gost/x/internal/util/http2"
"golang.org/x/net/http2"
)