Documentation ¶
Index ¶
Constants ¶
View Source
const (
BIND_TIMEOUT_SECONDS = "4000"
)
View Source
const (
FEATURE_OPEN_ENCRYPT = 1 << iota // open encrypt
)
View Source
const (
SINGLE = ""
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backends ¶
func NewBackends ¶
func NewBackends(cnf *conf.RouterConf, service *Service) *Backends
type Feature ¶
type Feature struct {
// contains filtered or unexported fields
}
func NewFeature ¶
func (*Feature) ActiveEncrypt ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
router service. goroutines about: start:
- watch support,router from etcd
- process crash other router
type TCPServer ¶
type TCPServer struct {
// contains filtered or unexported fields
}
func NewTCPServer ¶
func NewTCPServer(cnf *conf.RouterConf, service *Service) *TCPServer
Click to show internal directories.
Click to hide internal directories.