nps/core/process/transparent_others.go
2022-01-23 17:30:38 +08:00

24 lines
367 B
Go

// +build !linux
package process
import (
"ehang.io/nps/lib/enet"
)
type TransparentProcess struct {
DefaultProcess
}
func (tp *TransparentProcess) GetName() string {
return "transparent"
}
func (tp *TransparentProcess) GetZhName() string {
return "透明代理"
}
func (tp *TransparentProcess) ProcessConn(c enet.Conn) (bool, error) {
return false, nil
}