conn

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(opt *Option) *Client

func (*Client) Close

func (c *Client) Close()

func (*Client) Run

func (c *Client) Run(processor Processor) error

func (*Client) SendMouseLeftDownEvent

func (c *Client) SendMouseLeftDownEvent(xPos, yPos uint16)

func (*Client) SendMouseLeftUpEvent

func (c *Client) SendMouseLeftUpEvent(xPos, yPos uint16)

func (*Client) SendMouseMoveEvent

func (c *Client) SendMouseMoveEvent(xPos, yPos uint16)

type Option

type Option struct {
	Addr     string
	UserName string
	Password string

	ConnectTimeout time.Duration
}

type Processor

type Processor interface {
	ProcessBitmap(*bitmap.Option, *bitmap.BitMap)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL