Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientUpdater ¶
type ClientUpdater struct {
// contains filtered or unexported fields
}
func (*ClientUpdater) Consume ¶
func (cc *ClientUpdater) Consume(seg *common.RfbSegment) error
Consume recieves vnc-server-bound messages (Client messages) and updates the server part of the proxy
type ServerUpdater ¶
type ServerUpdater struct {
// contains filtered or unexported fields
}
func (*ServerUpdater) Consume ¶
func (p *ServerUpdater) Consume(seg *common.RfbSegment) error
type SessionManager ¶
type SessionManager struct {
// contains filtered or unexported fields
}
func (*SessionManager) DeleteSession ¶
func (s *SessionManager) DeleteSession(sessionId string) error
func (*SessionManager) GetSession ¶
func (s *SessionManager) GetSession(sessionId string) (*VncSession, error)
func (*SessionManager) SetSession ¶
func (s *SessionManager) SetSession(sessionId string, session *VncSession) error
type SessionStatus ¶
type SessionStatus int
const ( SessionStatusInit SessionStatus = iota SessionStatusActive SessionStatusError )
type SessionType ¶
type SessionType int
const ( SessionTypeRecordingProxy SessionType = iota SessionTypeReplayServer SessionTypeProxyPass )
type VncProxy ¶
type VncProxy struct { TCPListeningURL string // empty = not listening on tcp WsListeningURL string // empty = not listening on ws ProxyVncPassword string //empty = no auth SingleSession *VncSession // to be used when not using sessions UsingSessions bool //false = single session - defined in the var above SessionManager *SessionManager }
func (*VncProxy) StartListening ¶
func (vp *VncProxy) StartListening()
type VncSession ¶
type VncSession struct { Target string TargetPassword string ID string Status SessionStatus Type SessionType }
Click to show internal directories.
Click to hide internal directories.