publish

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: 4 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"
	// RetainedFlag used with cobra to read the retained flag from user.
	RetainedFlag = "retained"
	// PayloadFlag used with cobra to read the payload flag from user.
	PayloadFlag = "payload"

	// 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 {
	QoS      byte
	Retained bool
	Brokers  []string
	Topic    string
	Payload  string
}

Jump to

Keyboard shortcuts

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