Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthHandler ¶
type ClientAuth ¶
type ClientAuth interface { // SecurityType returns the byte identifier sent by the server to // identify this authentication scheme. SecurityType() uint8 // Handshake is called when the authentication handshake should be // performed, as part of the general RFB handshake. (see 7.2.1) Handshake(c *types.VncConn) error }
A ClientAuth implements a method of authenticating with a remote server.
type VersionHandler ¶
type VersionHandler struct {
ClientProtoVersion string // 'RFB 003.008'
}
type VncAuthNone ¶
type VncAuthNone byte
VncAuthNone is the "none" authentication. See 7.2.1
func (*VncAuthNone) SecurityType ¶
func (*VncAuthNone) SecurityType() uint8
type VncAuthPassword ¶
type VncAuthPassword struct {
Password string
}
VncAuthPassword is VNC authentication, 7.2.2
func (*VncAuthPassword) SecurityType ¶
func (p *VncAuthPassword) SecurityType() uint8
Click to show internal directories.
Click to hide internal directories.