| 12345678910111213141516171819202122232425262728293031323334353637 | 
							- package config
 
- import (
 
- 	routerconfig "github.com/v2ray/v2ray-core/app/router/config"
 
- 	v2net "github.com/v2ray/v2ray-core/common/net"
 
- )
 
- type ConnectionConfig interface {
 
- 	Protocol() string
 
- 	Settings() interface{}
 
- }
 
- type LogConfig interface {
 
- 	AccessLog() string
 
- }
 
- type InboundDetourConfig interface {
 
- 	Protocol() string
 
- 	PortRange() v2net.PortRange
 
- 	Settings() interface{}
 
- }
 
- type OutboundDetourConfig interface {
 
- 	Protocol() string
 
- 	Tag() string
 
- 	Settings() interface{}
 
- }
 
- type PointConfig interface {
 
- 	Port() uint16
 
- 	LogConfig() LogConfig
 
- 	RouterConfig() routerconfig.RouterConfig
 
- 	InboundConfig() ConnectionConfig
 
- 	OutboundConfig() ConnectionConfig
 
- 	InboundDetours() []InboundDetourConfig
 
- 	OutboundDetours() []OutboundDetourConfig
 
- }
 
 
  |