client

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDisconnected = errors.New("server disconnected")

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(serverURL, sessionID string) *Client

func (*Client) Close

func (c *Client) Close() error

func (*Client) Connect

func (c *Client) Connect() error

func (*Client) Continue

func (c *Client) Continue() error

func (*Client) Done

func (c *Client) Done() <-chan struct{}

func (*Client) Run

func (c *Client) Run() error

func (*Client) SendCommand

func (c *Client) SendCommand(cmdType string, payload []byte) error

func (*Client) SessionID

func (c *Client) SessionID() string

func (*Client) SetBreakpoint

func (c *Client) SetBreakpoint(filename string, line int) error

func (*Client) SingleStep

func (c *Client) SingleStep() error

func (*Client) StartDebug

func (c *Client) StartDebug(targetPath string) error

func (*Client) State

func (c *Client) State() ws.State

func (*Client) StepOver

func (c *Client) StepOver() error

func (*Client) Stop

func (c *Client) Stop() error

func (*Client) Wait

func (c *Client) Wait() error

Jump to

Keyboard shortcuts

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