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()

Source Files