Made parsing easier in middleware

This commit is contained in:
Matthew Holt
2015-01-21 12:09:49 -07:00
parent 318781512b
commit decfda2705
4 changed files with 77 additions and 98 deletions

View File

@ -35,12 +35,11 @@ type (
Next() bool
NextArg() bool
NextLine() bool
NextBlock() bool
Val() string
OpenCurlyBrace() bool
CloseCurlyBrace() bool
ArgErr() Middleware
Err(string, string) Middleware
Args(...*string)
ArgErr() Middleware
Err(string) Middleware
Startup(func() error)
Root() string
Host() string