mirror of
https://github.com/kevwan/tproxy.git
synced 2026-05-23 07:40:35 +00:00
27 lines
328 B
Go
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() {
|
|
}
|