1
0

transparent_others.go 367 B

1234567891011121314151617181920212223
  1. // +build !linux
  2. package process
  3. import (
  4. "ehang.io/nps/lib/enet"
  5. )
  6. type TransparentProcess struct {
  7. DefaultProcess
  8. }
  9. func (tp *TransparentProcess) GetName() string {
  10. return "transparent"
  11. }
  12. func (tp *TransparentProcess) GetZhName() string {
  13. return "透明代理"
  14. }
  15. func (tp *TransparentProcess) ProcessConn(c enet.Conn) (bool, error) {
  16. return false, nil
  17. }