web

package
Version: v0.0.0-...-8dd6030 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

This SSE broker taken from @schmohlio with a few changes:

https://gist.github.com/schmohlio/d7bdb255ba61d3f5e51a512a7c0d6a85

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg c.Config) m.Monitor

Types

type Broker

type Broker struct {

	// Events are pushed to this channel by the main events-gathering routine
	Notifier chan []byte
	// contains filtered or unexported fields
}

func NewServer

func NewServer() (broker *Broker)

func (*Broker) Stop

func (broker *Broker) Stop()

Source Files

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