server

package
v0.0.0-...-40ad89c Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server is a simple web server with a WebSocket backend.

func New

func New(logger log.Logger, m *taskqueue.Manager) *Server

New initializes a new Server.

func (*Server) Serve

func (srv *Server) Serve(addr string) error

Serve initializes the mux and starts the web server at the given address.

Jump to

Keyboard shortcuts

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