mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-26 13:55:40 +08:00
16 lines
209 B
Go
16 lines
209 B
Go
|
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 }
|