Skip to content

Commit

Permalink
Fix bad merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbruens committed Mar 16, 2024
1 parent 423565f commit 6613942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ type TCPMetrics interface {

// TCP metrics
AddOpenTCPConnection(ip net.Addr)
AddAuthenticatedTCPConnection(ip net.Addr, accessKey string)
AddClosedTCPConnection(ip net.Addr, accessKey string, status string, data metrics.ProxyMetrics, duration time.Duration)
AddTCPProbe(status, drainResult string, port int, clientProxyBytes int64)
}
Expand Down Expand Up @@ -122,6 +121,7 @@ type StreamAuthenticateFunc func(clientConn transport.StreamConn) (string, trans
type ShadowsocksTCPMetrics interface {
// Shadowsocks TCP metrics
AddTCPCipherSearch(accessKeyFound bool, timeToCipher time.Duration)
AddAuthenticatedTCPConnection(ip net.Addr, accessKey string)
}

// NewShadowsocksStreamAuthenticator creates a stream authenticator that uses Shadowsocks.
Expand Down

0 comments on commit 6613942

Please sign in to comment.