config

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block struct {
	Name     string
	Type     string
	Settings map[string]interface{}
}

type Lexer

type Lexer struct {
	// contains filtered or unexported fields
}

func NewLexer

func NewLexer(reader io.Reader) *Lexer

func (*Lexer) Lex

func (l *Lexer) Lex()

type Parser

type Parser struct {
	DefaultSettings map[string]interface{}
	AlertBlocks     []*Block
	CheckBlocks     []*Block
	PluginSettings  []*Block
	// contains filtered or unexported fields
}

func NewParser

func NewParser(reader io.Reader) *Parser

func (*Parser) Parse

func (p *Parser) Parse() error

Jump to

Keyboard shortcuts

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