Documentation
¶
Index ¶
- Variables
- func AddPending(sessionID string, connStr string)
- func AddRTunnel(tun *RTunnel)
- func Check(sessionID string, connStr string) bool
- func DeletePending(sessionID string, connStr string)
- func RemoveRTunnel(ID uint64)
- func TrackListener(sessionID string, listenerID uint32, connStr string)
- func UntrackListener(sessionID string, listenerID uint32) bool
- type RTunnel
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AddPending ¶ added in v1.5.43
func DeletePending ¶ added in v1.5.43
func TrackListener ¶ added in v1.6.2
func UntrackListener ¶ added in v1.6.2
Types ¶
type RTunnel ¶
type RTunnel struct {
ID uint64
SessionID string
// Reader io.ReadCloser
Readers []io.ReadCloser
Writer io.WriteCloser
// contains filtered or unexported fields
}
RTunnel - Duplex byte read/write
func NewRTunnel ¶
func NewRTunnel(id uint64, sID string, writer io.WriteCloser, readers ...io.ReadCloser) *RTunnel
func (*RTunnel) IncReadSequence ¶
func (c *RTunnel) IncReadSequence()
func (*RTunnel) IncWriteSequence ¶
func (c *RTunnel) IncWriteSequence()
func (*RTunnel) ReadSequence ¶
func (*RTunnel) WriteSequence ¶
Click to show internal directories.
Click to hide internal directories.