config

package
v0.0.0-...-e896b0b Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package config contains the low-level configuration file parser.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type State

type State struct {

	// global configuration statements
	Global map[string]string

	// collection of all fields encountered during parsing
	Fields map[string]erpelRules.Field
	// contains filtered or unexported fields
}

State is the internal state used for parsing the config file.

func Parse

func Parse(data string) (State, error)

Parse returns the state for a configuration.

Jump to

Keyboard shortcuts

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