| 12345678910111213141516171819202122232425262728293031 | 
							- package config
 
- type Type string
 
- const (
 
- 	TypeInbound  = Type("inbound")
 
- 	TypeOutbound = Type("outbound")
 
- )
 
- type RouterConfig interface {
 
- 	Strategy() string
 
- 	Settings() interface{}
 
- }
 
- type ConnectionTag string
 
- type ConnectionConfig interface {
 
- 	Protocol() string
 
- 	Settings() interface{}
 
- }
 
- type LogConfig interface {
 
- 	AccessLog() string
 
- }
 
- type PointConfig interface {
 
- 	Port() uint16
 
- 	LogConfig() LogConfig
 
- 	InboundConfig() ConnectionConfig
 
- 	OutboundConfig() ConnectionConfig
 
- }
 
 
  |