http

package
v0.0.0-...-8740a4e Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2015 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpListener

type HttpListener struct {
	Interface string
	UIPath    string
	Started   bool
	Mux       *http.ServeMux
	OnData    func(map[string]interface{}, http.ResponseWriter)
}

func Init

func Init(config map[string]interface{}, ondata func(map[string]interface{}, http.ResponseWriter)) (*HttpListener, error)

func (*HttpListener) IsRunning

func (listener *HttpListener) IsRunning() bool

func (*HttpListener) Start

func (listener *HttpListener) Start()

func (*HttpListener) Stop

func (listener *HttpListener) Stop()

Jump to

Keyboard shortcuts

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