add metrics

This commit is contained in:
ginuerzh
2022-04-05 17:56:36 +08:00
parent 6aa1cc7401
commit 1444ebc1ee
26 changed files with 405 additions and 29 deletions

View File

@ -6,9 +6,9 @@ import (
"net"
"time"
netpkg "github.com/go-gost/core/common/net"
"github.com/go-gost/core/logger"
"github.com/go-gost/gosocks5"
netpkg "github.com/go-gost/x/internal/net"
)
func (h *socks5Handler) handleConnect(ctx context.Context, conn net.Conn, network, address string, log logger.Logger) error {