Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMemProvider ¶
func NewMemProvider(config *topicsTypes.MemConfig) (topicsTypes.Provider, error)
NewMemProvider returns an new instance of the provider, which is implements the TopicsProvider interface. provider is a hidden struct that stores the topic subscriptions and retained messages in memory. The content is not persistent so when the server goes, everything will be gone. Use with care.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.