go-rfb/handlers.go
Vasiliy Tolstov a45bca15e3 not working example
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2017-06-12 14:11:23 +03:00

36 lines
666 B
Go

package vnc
// ClientMessage is the interface
type ClientMessage interface {
Type() ClientMessageType
Read(Conn) error
Write(Conn) error
}
// ServerMessage is the interface
type ServerMessage interface {
Type() ServerMessageType
Read(Conn) error
Write(Conn) error
}
func ServerVersionHandler(cfg *ServerConfig, c Conn) error {
return nil
}
func ServerSecurityHandler(cfg *ServerConfig, c Conn) error {
return nil
}
func ServerSecurityNoneHandler(cfg *ServerConfig, c Conn) error {
return nil
}
func ServerServerInitHandler(cfg *ServerConfig, c Conn) error {
return nil
}
func ServerClientInitHandler(cfg *ServerConfig, c Conn) error {
return nil
}