| 18 | ) |
| 19 | |
| 20 | type tunnelServer struct { |
| 21 | remote.UnimplementedTunnelServer |
| 22 | |
| 23 | // ping is used to determine if we still have an alive connection |
| 24 | ping *pingtimeout.PingTimeout |
| 25 | } |
| 26 | |
| 27 | func StartTunnelServer(reader io.Reader, writer io.Writer, exitOnClose, ping bool) error { |
| 28 | pipe := util.NewStdStreamJoint(reader, writer, exitOnClose) |
nothing calls this directly
no outgoing calls
no test coverage detected