router

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MulanPSL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultParser = &_DefaultParser{}
)

Functions

This section is empty.

Types

type Node

type Node struct {
	Name, Desc string
}

type Output

type Output struct {
	Destination string `json:"destination" yaml:"destination"`
	NextInputs  string `json:"next_inputs" yaml:"next_inputs"`
}

type Parser

type Parser interface {
	Format(input string, router []Node) (string, error)
	Parser(string) (*Output, error)
}

Jump to

Keyboard shortcuts

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