config

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2015 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeInbound  = Type("inbound")
	TypeOutbound = Type("outbound")
)

Variables

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

Functions

This section is empty.

Types

type ConnectionConfig

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

type LogConfig

type LogConfig interface {
	AccessLog() string
}

type PointConfig

type PointConfig interface {
	Port() uint16
	LogConfig() LogConfig
	InboundConfig() ConnectionConfig
	OutboundConfig() ConnectionConfig
}

type Type

type Type string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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