github.com/chwjbn/xclash@v0.2.0/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 }