Documentation ¶ Index ¶ type Parser func (p *Parser) ParseYaml(in []byte) (*weles.Config, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Parser ¶ type Parser struct{} Parser type implements Parser interface. func (*Parser) ParseYaml ¶ func (p *Parser) ParseYaml(in []byte) (*weles.Config, error) ParseYaml parses yaml content and validates the results. Caller should make sure that input yaml fits to required format (sample_yaml), if not an empty Config and error will be returned. Source Files ¶ View all Source files parser.go Click to show internal directories. Click to hide internal directories.