nativecontrol

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

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

func New

func New(
	captureProcess string,
	capabilities nativecapture.Capabilities,
	portMapping bool,
) *Session

func (*Session) Close

func (session *Session) Close() error

func (*Session) Events

func (session *Session) Events() <-chan any

func (*Session) Handle

func (session *Session) Handle(ctx context.Context, payload []byte) (result any, returnedErr error)

Malformed commands close the control connection. Valid commands that cannot complete fail only their request; an already-retired teardown target is ACKed.

Jump to

Keyboard shortcuts

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