subscribe

package
v0.0.0-...-723dc29 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TopicFlag used with cobra to read the topic flag from user.
	TopicFlag = "topic"
	// QoSFlag used with cobra to read the qos flag from user.
	QoSFlag = "qos"

	// Timeout for disconnecting from brokers.
	Timeout = 10
)

Variables

This section is empty.

Functions

func Register

func Register(root *cobra.Command, brokers *[]string)

Register migrate command.

Types

type Config

type Config struct {
	Brokers []string
	QoS     byte
	Topic   string
}

Jump to

Keyboard shortcuts

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