testing

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2015 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RouterRuleConfig

type RouterRuleConfig struct {
	RuleList []*TestRule
}

func (*RouterRuleConfig) Rules

func (this *RouterRuleConfig) Rules() []rules.Rule

type TestRule

type TestRule struct {
	Function func(v2net.Destination) bool
	TagValue string
}

func (*TestRule) Apply

func (this *TestRule) Apply(dest v2net.Destination) bool

func (*TestRule) Tag

func (this *TestRule) Tag() string

Jump to

Keyboard shortcuts

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