move metrics module to github.com/go-gost/metrics

This commit is contained in:
ginuerzh
2022-03-14 22:07:36 +08:00
parent 749d802a12
commit a2d62d1753
15 changed files with 32 additions and 546 deletions

View File

@ -8,9 +8,9 @@ import (
"github.com/go-gost/config"
"github.com/go-gost/config/parsing"
"github.com/go-gost/gost/v3/pkg/logger"
metrics "github.com/go-gost/gost/v3/pkg/metrics/service"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/gost/v3/pkg/service"
metrics "github.com/go-gost/metrics/service"
)
func buildService(cfg *config.Config) (services []service.Service) {

View File

@ -10,7 +10,7 @@ import (
"github.com/go-gost/config"
"github.com/go-gost/gost/v3/pkg/logger"
"github.com/go-gost/gost/v3/pkg/metrics"
"github.com/go-gost/metrics"
)
var (