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
}
Client wraps a websocket client connection to iTerm2. Must be instantiated with NewClient.
func New ¶
New returns a new websocket connection that talks to the iTerm2 application.New Callers must call the Close() method when done. The cookie parameter is optional. If provided, it will bypass script authentication prompts.
func (*Client) Call ¶
func (c *Client) Call(req *api.ClientOriginatedMessage) (*api.ServerOriginatedMessage, error)
Call sends a request to the iTerm2 server
Click to show internal directories.
Click to hide internal directories.