Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) CheckStatus() (*[]model.MockedHost, error)
- func (c *Client) Clear() error
- func (c *Client) Close() error
- func (c *Client) Mock(host string, directory string) error
- func (c *Client) Remove(host string) error
- func (c *Client) SendMessage(msgType model.MessageType, data []byte) error
- func (c *Client) Stop() error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnableToDialDaemon = errors.New("unable to dial daemon")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CheckStatus ¶
func (c *Client) CheckStatus() (*[]model.MockedHost, error)
func (*Client) SendMessage ¶
func (c *Client) SendMessage(msgType model.MessageType, data []byte) error
Click to show internal directories.
Click to hide internal directories.