Files
tproxy/stat+polyfill.go
2023-05-06 23:16:05 +08:00

27 lines
328 B
Go

//go:build !linux
package main
import (
"net"
"time"
)
type StatPrinter struct{}
func NewStatPrinter(_ time.Duration) Stater {
return StatPrinter{}
}
func (p StatPrinter) AddConn(_ string, _ *net.TCPConn) {
}
func (p StatPrinter) DelConn(_ string) {
}
func (p StatPrinter) Start() {
}
func (p StatPrinter) Stop() {
}