Documentation ¶ Index ¶ type Client func (client *Client) Begin(url url.URL) error func (client *Client) SendEvent(event *primitives.Message) func (client *Client) Stop() error type IClient func NewClient(commandHandler func(command *primitives.Message)) IClient 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 (*Client) Begin ¶ func (client *Client) Begin(url url.URL) error func (*Client) SendEvent ¶ func (client *Client) SendEvent(event *primitives.Message) func (*Client) Stop ¶ func (client *Client) Stop() error type IClient ¶ added in v0.0.6 type IClient interface { Begin(url url.URL) error Stop() error SendEvent(event *primitives.Message) } func NewClient ¶ func NewClient(commandHandler func(command *primitives.Message)) IClient Source Files ¶ View all Source files client.go i_client.go Click to show internal directories. Click to hide internal directories.