1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-31 06:25:32 -05:00
Files
v2fly/app/point/config/config.go

30 lines
448 B
Go
Raw Normal View History

2015-10-06 23:11:08 +02:00
package config
2015-10-28 23:18:07 +01:00
type RouterConfig interface {
Strategy() string
Settings() interface{}
}
type ConnectionTag string
type ConnectionConfig interface {
2015-09-19 15:35:20 +02:00
Protocol() string
Settings() interface{}
2015-09-12 22:11:54 +02:00
}
2015-10-09 17:43:27 +02:00
type LogConfig interface {
AccessLog() string
}
2015-10-31 14:08:13 +01:00
type InboundDetour interface {
Protocol() string
Port()
}
type PointConfig interface {
2015-09-19 15:35:20 +02:00
Port() uint16
2015-10-09 17:43:27 +02:00
LogConfig() LogConfig
2015-09-19 15:35:20 +02:00
InboundConfig() ConnectionConfig
OutboundConfig() ConnectionConfig
2015-09-12 22:11:54 +02:00
}