config

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BadConfiguration = errors.New("Bad configuration.")
)

Functions

This section is empty.

Types

type ConnectionConfig

type ConnectionConfig interface {
	Protocol() string
	Settings() interface{}
}

type DetourTag

type DetourTag string

type InboundDetourConfig

type InboundDetourConfig interface {
	Protocol() string
	PortRange() v2net.PortRange
	Settings() interface{}
}

type LogConfig

type LogConfig interface {
	AccessLog() string
}

type OutboundDetourConfig

type OutboundDetourConfig interface {
	Protocol() string
	Tag() DetourTag
	Settings() interface{}
}

type PointConfig

type PointConfig interface {
	Port() uint16
	LogConfig() LogConfig
	RouterConfig() routerconfig.RouterConfig
	InboundConfig() ConnectionConfig
	OutboundConfig() ConnectionConfig
	InboundDetours() []InboundDetourConfig
	OutboundDetours() []OutboundDetourConfig
}

Directories

Path Synopsis
testing

Jump to

Keyboard shortcuts

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