consumer

package
v0.0.0-...-e659822 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consumer

type Consumer struct {
	Channel chan string
	// contains filtered or unexported fields
}

func NewConsumer

func NewConsumer(opts map[string]interface{}) (consumer *Consumer)

func (*Consumer) Connect

func (c *Consumer) Connect()

func (*Consumer) Disconnect

func (c *Consumer) Disconnect()

func (*Consumer) Subscribe

func (c *Consumer) Subscribe(topic string)

Jump to

Keyboard shortcuts

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