github.com/laof/lite-speed-test@v0.0.0-20230930011949-1f39b7037845/transport/ssr/obfs/plain.go (about) 1 package obfs 2 3 import "net" 4 5 type plain struct{} 6 7 func init() { 8 register("plain", newPlain, 0) 9 } 10 11 func newPlain(b *Base) Obfs { 12 return &plain{} 13 } 14 15 func (p *plain) StreamConn(c net.Conn) net.Conn { return c }