sys

package
v0.0.0-...-3596c24 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

系统主题

Index

Constants

This section is empty.

Variables

View Source
var UnSupportTopic = errors.New("the system topic is not supported")

Functions

func NewMemProvider

func NewMemProvider() *memTopics

Types

type TopicProvider

type TopicProvider interface {
	Subscribe(subs topic.Sub, subscriber interface{}) (byte, error)
	Unsubscribe(topic []byte, subscriber interface{}) error
	Subscribers(topic []byte, qos byte, subs *[]interface{}, qoss *[]topic.Sub) error
	Close() error
}

TopicProvider 系统主题

Jump to

Keyboard shortcuts

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