parser

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2018 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL