Back to

Package memLockFree

Latest Go to latest

The highest tagged major version is .

Published: Dec 10, 2019 | License: Apache-2.0 | Module:


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.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier