Versions in this module Expand all Collapse all v0 v0.7.0 May 25, 2015 v0.6.0 May 6, 2015 Changes in this version + var ValidDirectives = make(map[string]struct{}) + func ServerBlocks(filename string, input io.Reader) ([]serverBlock, error) + type Dispenser struct + func NewDispenser(filename string, input io.Reader) Dispenser + func NewDispenserTokens(filename string, tokens []token) Dispenser + func (d *Dispenser) ArgErr() error + func (d *Dispenser) Args(targets ...*string) bool + func (d *Dispenser) EofErr() error + func (d *Dispenser) Err(msg string) error + func (d *Dispenser) Errf(format string, args ...interface{}) error + func (d *Dispenser) Line() int + func (d *Dispenser) Next() bool + func (d *Dispenser) NextArg() bool + func (d *Dispenser) NextBlock() bool + func (d *Dispenser) NextLine() bool + func (d *Dispenser) RemainingArgs() []string + func (d *Dispenser) SyntaxErr(expected string) error + func (d *Dispenser) Val() string