Created basic fastcgi middleware layer

This commit is contained in:
Matthew Holt
2015-01-21 17:51:47 -07:00
parent fe1978c6f5
commit a38a2a0e4f
4 changed files with 129 additions and 5 deletions

View File

@ -17,6 +17,7 @@ func init() {
register("rewrite", Rewrite)
register("redir", Redirect)
register("ext", Extensionless)
register("fastcgi", FastCGI)
}
type (
@ -37,7 +38,7 @@ type (
NextLine() bool
NextBlock() bool
Val() string
Args(...*string)
Args(...*string) bool
ArgErr() Middleware
Err(string) Middleware
Startup(func() error)