router

package
v0.0.0-...-c2832fb Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2016 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnknownPlugin    = errors.New("unknown plugin")
	ErrInvalidGenerator = errors.New("invalid/nil generator")
	ErrInvalidReceiver  = errors.New("invalid/nil receiver")
	ErrInvalidFilterer  = errors.New("invalid/nil filterer")
)
View Source
var ErrInvalidConfig = errors.New("invalid configuration")

Functions

This section is empty.

Types

type PluginDefinition

type PluginDefinition struct {
	Name, Type string
	Config     *ast.Table
	Plugin     cypress.Plugin
}

type Route

type Route struct {
	Name    string
	Enabled bool
	Input   []string
	Output  []string
	Filter  []string
	// contains filtered or unexported fields
}

func (*Route) Flow

func (r *Route) Flow()

type Router

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

func NewRouter

func NewRouter() *Router

func (*Router) Close

func (r *Router) Close() error

func (*Router) LoadConfig

func (r *Router) LoadConfig(i io.Reader) error

func (*Router) Open

func (r *Router) Open() error

func (*Router) Routes

func (r *Router) Routes() []*Route

Jump to

Keyboard shortcuts

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