mihomo/transport/ssr/obfs/plain.go

16 lines
209 B
Go
Raw Normal View History

package obfs
import "net"
type plain struct{}
func init() {
register("plain", newPlain, 0)
}
func newPlain(b *Base) Obfs {
return &plain{}
}
func (p *plain) StreamConn(c net.Conn) net.Conn { return c }