pubsub

package
v0.4.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2016 License: MIT Imports: 1 Imported by: 0

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