devweb

command
v0.0.0-...-3518a61 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2014 License: Apache-2.0, BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Overview

Devweb is a simple environment for developing a web server. It runs its own web server on the given address and proxies all requests to the http server program named by importpath. It takes care of recompiling and restarting the program as needed.

The server program should be a trivial main program like:

package main

import (
	"code.google.com/p/rsc/devweb/slave"

	_ "this/package"
	_ "that/package"
)

func main() {
	slave.Main()
}

The import _ lines import packages that register HTTP handlers, like in an App Engine program.

As you make changes to this/package or that/package (or their dependencies), devweb recompiles and relaunches the servers as needed to serve requests.

Notes

Bugs

  • Devweb should probably

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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