Documentation ¶
Index ¶
- type Broker
- type BrokerImpl
- type Client
- func (c *Client) Close()
- func (c *Client) GetPayLoad(sub <-chan interface{}) interface{}
- func (c *Client) Publish(topic string, msg interface{}) error
- func (c *Client) SetConditions(capacity int)
- func (c *Client) Subscribe(topic string) (<-chan interface{}, error)
- func (c *Client) Unsubscribe(topic string, sub <-chan interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrokerImpl ¶
func NewBroker ¶
func NewBroker() *BrokerImpl
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetPayLoad ¶
func (c *Client) GetPayLoad(sub <-chan interface{}) interface{}
func (*Client) SetConditions ¶
func (*Client) Unsubscribe ¶
Click to show internal directories.
Click to hide internal directories.