web

package
v0.0.0-...-8755b95 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebFace

type WebFace struct {
	Addr            string
	StaticRoot      string
	Templates       string
	Router          *http.ServeMux
	RedirectHandler http.HandlerFunc

	OutMsg chan string
	InMsg  chan string
}

func MakeWebFace

func MakeWebFace(addr string, static_root string, templatesFolder string) *WebFace

func (*WebFace) HostLoop

func (wf *WebFace) HostLoop()

func (*WebFace) ServeHTTP

func (wf *WebFace) ServeHTTP(rw http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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