Versions in this module Expand all Collapse all v0 v0.5.0 Nov 23, 2022 Changes in this version + type Config struct + Errors []ConfigError + File string + Parsed []Directive + Status string + type ConfigError struct + Error string + Line *int + type Directive struct + Args []string + Block *[]Directive + Comment *string + Directive string + Includes *[]int + Line int + func (d Directive) IsBlock() bool + func (d Directive) IsComment() bool + func (d Directive) IsInclude() bool + type ParseError struct + func (e ParseError) Error() string + type ParseOptions struct + CombineConfigs bool + ErrorCallback func(error) interface{} + ErrorOnUnknownDirectives bool + IgnoreDirectives []string + Open func(path string) (io.Reader, error) + ParseComments bool + SingleFile bool + SkipDirectiveArgsCheck bool + SkipDirectiveContextCheck bool + StopParsingOnError bool + type Payload struct + Config []Config + Errors []PayloadError + Status string + func Parse(filename string, options *ParseOptions) (*Payload, error) + func ParseString(conf string, options *ParseOptions) (*Payload, error) + func (p Payload) Combined() (*Payload, error) + type PayloadError struct + Callback interface{} + Error string + File string + Line *int