(singleConnection bool, screen string, authProtocol string, authCookie string)
| 648 | } |
| 649 | |
| 650 | func (c *ForwardCtx) StartX11ForwardClient(singleConnection bool, screen string, authProtocol string, authCookie string) (chan *Connection, error) { |
| 651 | setupPacket := SetupPacket{ |
| 652 | ConnectionType: CONNECTION_TYPE_X11, |
| 653 | Protocol: "tcp", |
| 654 | SingleConnection: singleConnection, |
| 655 | Screen: screen, |
| 656 | AuthProtocol: authProtocol, |
| 657 | AuthCookie: authCookie, |
| 658 | } |
| 659 | |
| 660 | return c.startReverseForwardingClient(setupPacket) |
| 661 | } |
| 662 | |
| 663 | func (c *ForwardCtx) StartReverseForwardClient(bindHost string, bindPort uint32, singleConnection bool) (chan *Connection, error) { |
| 664 | setupPacket := SetupPacket{ |
no test coverage detected