1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-30 22:15:27 -05:00
Files
v2fly/app/point/config/config.go

25 lines
387 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
}
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
}