| 27 | ) |
| 28 | |
| 29 | type SimpleStreamServer struct { |
| 30 | Client net.Conn |
| 31 | Timeout int |
| 32 | RB []byte |
| 33 | WB []byte |
| 34 | network string |
| 35 | src string |
| 36 | dst string |
| 37 | } |
| 38 | |
| 39 | func NewSimpleStreamServer(password []byte, src string, client net.Conn, timeout, udptimeout int) (Exchanger, error) { |
| 40 | if timeout != 0 { |
nothing calls this directly
no outgoing calls
no test coverage detected