inmem

package
Version: v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Inmem

type Inmem struct {
	// contains filtered or unexported fields
}

func NewPubSub

func NewPubSub() *Inmem

func (*Inmem) Publish

func (p *Inmem) Publish(_ context.Context, topic string, msg []byte) error

func (*Inmem) Subscribe

func (p *Inmem) Subscribe(_ context.Context, name, topic string) (<-chan pubsub.Event, error)

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