rules

package
v0.0.0-...-737f61f Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Input

func Input(key, value string) input

Types

type Result

type Result map[string]string

func (Result) Get

func (r Result) Get(key string) string

type RuleSet

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

func From

func From(config []byte, validInputs, validOutputs []string) (*RuleSet, error)

func (*RuleSet) Apply

func (rs *RuleSet) Apply(allInputs ...input) Result

Jump to

Keyboard shortcuts

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