pubsub

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: MIT Imports: 1 Imported by: 207

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PubSub

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

func NewPubSub

func NewPubSub() (ret *PubSub)

func (*PubSub) Close

func (me *PubSub) Close()

func (*PubSub) Publish

func (me *PubSub) Publish(v interface{})

func (*PubSub) Subscribe

func (me *PubSub) Subscribe() (ret *Subscription)

type Subscription

type Subscription struct {
	Values chan interface{}
	// contains filtered or unexported fields
}

func (*Subscription) Close

func (me *Subscription) Close()

Jump to

Keyboard shortcuts

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