noise

package
v0.0.0-...-320a677 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2014 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Noise

type Noise struct {
	Sb *Switchboard
}

func (*Noise) ServeWs

func (noise *Noise) ServeWs(w http.ResponseWriter, r *http.Request)

type Switchboard

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

func NewSwitchboard

func NewSwitchboard() Switchboard

func (*Switchboard) Broadcast

func (sw *Switchboard) Broadcast(msg []byte)

func (*Switchboard) Register

func (sw *Switchboard) Register() chan []byte

func (*Switchboard) Unregister

func (sw *Switchboard) Unregister(c chan []byte)

Jump to

Keyboard shortcuts

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