client

package
v0.0.1-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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 NewClient

func NewClient() (*Client, error)

func (*Client) CheckStatus

func (c *Client) CheckStatus() (*[]model.MockedHost, error)

func (*Client) Clear

func (c *Client) Clear() error

func (*Client) Close

func (c *Client) Close() error

func (*Client) Mock

func (c *Client) Mock(host string, directory string) error

func (*Client) Remove

func (c *Client) Remove(host string) error

func (*Client) SendMessage

func (c *Client) SendMessage(msgType model.MessageType, data []byte) error

func (*Client) Stop

func (c *Client) Stop() error

Jump to

Keyboard shortcuts

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