manager

package
v0.0.0-...-e40ef66 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2019 License: MIT Imports: 3 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(events []string) Client

func (*Client) ReceivePayload

func (c *Client) ReceivePayload() <-chan event.Payload

func (*Client) SetEvents

func (c *Client) SetEvents(events []string)

type ClientManager

type ClientManager struct {
	// contains filtered or unexported fields
}

func NewClientManager

func NewClientManager() *ClientManager

func (*ClientManager) AddClient

func (cm *ClientManager) AddClient(client Client)

func (*ClientManager) DeleteEvents

func (cm *ClientManager) DeleteEvents(client *Client)

func (*ClientManager) RemoveClient

func (cm *ClientManager) RemoveClient(client Client)

func (*ClientManager) SendHeartBeat

func (cm *ClientManager) SendHeartBeat()

func (*ClientManager) SendPayload

func (cm *ClientManager) SendPayload(payload event.Payload)

type Clients

type Clients struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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