mem

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2018 License: Apache-2.0 Imports: 11 Imported by: 5

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.

Jump to

Keyboard shortcuts

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