processor

package
v1.6.190 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultConfigPath = "/etc/serve"

Variables

This section is empty.

Functions

func ProcessAll

func ProcessAll(tree *gabs.Container, visitor func(string, *gabs.Container, interface{}, interface{}) error) error

func Repeat

func Repeat(n int, f func() error) error

*

  • magic: repeat N times for resolving all circular references

Types

type AnchorMerger

type AnchorMerger struct{}

func (AnchorMerger) Process

func (t AnchorMerger) Process(tree *gabs.Container) error

type Include

type Include struct{}

func (Include) Process

func (in Include) Process(tree *gabs.Container) error

type Matcher

type Matcher struct{}

func (Matcher) Process

func (m Matcher) Process(tree *gabs.Container) error

type Processor

type Processor interface {
	Process(tree *gabs.Container) error
}

func GetAll

func GetAll() []Processor

type Templater

type Templater struct{}

func (Templater) Process

func (t Templater) Process(tree *gabs.Container) error

Jump to

Keyboard shortcuts

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