Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMemProvider ¶
func NewMemProvider(messageStore store.MessageStore) *memtopic
NewMemProvider 返回memtopic的一个新实例,该实例实现了 topic.Manager 接口。memProvider是存储主题的隐藏结构 订阅并保留内存中的消息。内容不是这样持久化的 当服务器关闭时,所有东西都将消失。小心使用。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.