topicmapnode

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MWC is the multi-level wildcard
	MWC = "#"

	// SWC is the single level wildcard
	SWC = "+"

	// SEP is the topic level separator
	SEP = "/"

	// SYS is the starting character of the system level topics
	//SYS是系统级主题的起始字符
	SYS = "$"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TopicsMapNodeProvider

type TopicsMapNodeProvider interface {
	Subscribe(topic []byte, shareName, node string) error
	Unsubscribe(topic []byte, shareName, node string) error
	Subscribers(topic []byte, shareNames, nodes *[]string) error // 获取此主题下不同共享组中选中的节点
	Close() error
}

TopicsMapNodeProvider 主题映射节点名称

func NewTopicMapNodeProvider

func NewTopicMapNodeProvider() TopicsMapNodeProvider

Jump to

Keyboard shortcuts

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