handlers

package
v0.0.0-...-381ebb6 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2015 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Add

type Add struct {
	Broker *pubsub.Broker
	Logger log.Logger
}

func (Add) ServeHTTP

func (a Add) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Del

type Del struct {
	Broker *pubsub.Broker
	Logger log.Logger
}

func (Del) ServeHTTP

func (d Del) ServeHTTP(w http.ResponseWriter, r *http.Request)

type List

type List struct {
	Broker *pubsub.Broker
	Logger log.Logger
}

func (List) ServeHTTP

func (l List) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Ping

type Ping struct {
	Logger log.Logger
}

func (Ping) ServeHTTP

func (p Ping) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Pub

type Pub struct {
	Broker *pubsub.Broker
	Logger log.Logger
}

func (Pub) ServeHTTP

func (p Pub) ServeHTTP(w http.ResponseWriter, r *http.Request)

type WSHandler

type WSHandler struct {
	Broker *pubsub.Broker
	Config config.Config
	Logger log.Logger
}

func (WSHandler) ServeHTTP

func (h WSHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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