mock

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: MIT Imports: 8 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(addr string) *Client

func (*Client) Aside

func (c *Client) Aside() ([]byte, error)

func (*Client) Attach

func (c *Client) Attach() error

Test the afid here

func (*Client) Auth

func (c *Client) Auth() error

func (*Client) Cleanup

func (c *Client) Cleanup()

func (*Client) Command

func (c *Client) Command(cmd *commander.Command) (int, error)

func (*Client) Connect

func (c *Client) Connect(debug bool) error

func (*Client) Ctl

func (c *Client) Ctl() ([]byte, error)

func (*Client) Document

func (c *Client) Document() ([]byte, error)

func (*Client) Feed

func (c *Client) Feed() (io.ReadCloser, error)

func (*Client) GetCommands

func (c *Client) GetCommands() ([]*commander.Command, error)

func (*Client) Input

func (c *Client) Input(data []byte) (int, error)

func (*Client) Notifications

func (c *Client) Notifications() ([]byte, error)

func (*Client) Send

func (c *Client) Send(cmd *commander.Command, args []string) (int, error)

func (*Client) Status

func (c *Client) Status() ([]byte, error)

func (*Client) Tabs

func (c *Client) Tabs() ([]byte, error)

func (*Client) Title

func (c *Client) Title() ([]byte, error)

Jump to

Keyboard shortcuts

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