Versions in this module Expand all Collapse all v0 v0.8.1 Jan 12, 2016 Changes in this version + type ServerBlock struct + Addresses []address + Tokens map[string][]token + func (sb ServerBlock) HostList() []string v0.8.0 Dec 4, 2015 Changes in this version + var ValidDirectives = make(map[string]struct{}) + func ServerBlocks(filename string, input io.Reader, checkDirectives bool) ([]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) File() string + func (d *Dispenser) IncrNest() + 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