mem

package
Version: v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL