Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) Aside() ([]byte, error)
- func (c *Client) Attach() error
- func (c *Client) Auth() error
- func (c *Client) Cleanup()
- func (c *Client) Command(cmd *commander.Command) (int, error)
- func (c *Client) Connect(debug bool) (err error)
- func (c *Client) Ctl() ([]byte, error)
- func (c *Client) Document() ([]byte, error)
- func (c *Client) Feed() (io.ReadCloser, error)
- func (c *Client) GetCommands() ([]*commander.Command, error)
- func (c *Client) Input(data []byte) (int, error)
- func (c *Client) Notifications() ([]byte, error)
- func (c *Client) Send(cmd *commander.Command, data []string) (int, error)
- func (c *Client) Status() ([]byte, error)
- func (c *Client) Tabs() ([]byte, error)
- func (c *Client) Title() ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Commands = []*commander.Command{ { Name: "title", Args: []string{}, Heading: commander.DefaultGroup, Description: "print the title of the current buffer", }, { Name: "aside", Args: []string{}, Heading: commander.DefaultGroup, Description: "print the aside data of the current buffer", }, { Name: "status", Args: []string{}, Heading: commander.DefaultGroup, Description: "print the status of the current buffer", }, { Name: "tabs", Args: []string{}, Heading: commander.DefaultGroup, Description: "print a list of all connected buffers", }, { Name: "notify", Args: []string{}, Heading: commander.DefaultGroup, Description: "print and clear any pending notifications", }, }
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Command ¶
Command will write a command, returning an error if the command is not supported by the service It will set cmd.From on your behalf
func (*Client) GetCommands ¶
GetCommands initializes the internal cmdlist
func (*Client) Notifications ¶
Click to show internal directories.
Click to hide internal directories.