Documentation ¶
Index ¶
- func Con(conn net.Conn, bytesbuf *TCPWrapper, pullch PullCh)
- func Handshake(conn io.ReadWriteCloser) error
- func Run(conn net.Conn, ch PullCh)
- func SetEncodings(conn net.Conn)
- func WindowResizedEventDetail(conn net.Conn, ev *sdl.WindowEvent, winw, winh int32)
- func WriteRequest(conn net.Conn, u interface{})
- type Click
- type DesktopSize
- type KP
- type PullCh
- type PullColorMap
- type PullRaw
- type PullReuseRect
- type PullSmall
- type PullTightFill
- type PullTightJPEG
- type RGB
- type Screen
- type TCPWrapper
- type Updater
- type ZlibStreamer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handshake ¶
func Handshake(conn io.ReadWriteCloser) error
func SetEncodings ¶
func WindowResizedEventDetail ¶
func WindowResizedEventDetail(conn net.Conn, ev *sdl.WindowEvent, winw, winh int32)
func WriteRequest ¶
Types ¶
type DesktopSize ¶
type PullColorMap ¶
type PullTightJPEG ¶
type TCPWrapper ¶
func (*TCPWrapper) Close ¶
func (wrapper *TCPWrapper) Close() error
type ZlibStreamer ¶
type ZlibStreamer struct { ZlibReaders [4]*zlib.Reader // contains filtered or unexported fields }
func (*ZlibStreamer) GetCompressedlen ¶
func (s *ZlibStreamer) GetCompressedlen() int
Click to show internal directories.
Click to hide internal directories.