1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-07 20:45:19 -04:00
v2fly/config.go

13 lines
203 B
Go
Raw Normal View History

2015-09-12 16:11:54 -04:00
package core
type ConnectionConfig interface {
2015-09-19 09:35:20 -04:00
Protocol() string
Content() []byte
2015-09-12 16:11:54 -04:00
}
type PointConfig interface {
2015-09-19 09:35:20 -04:00
Port() uint16
InboundConfig() ConnectionConfig
OutboundConfig() ConnectionConfig
2015-09-12 16:11:54 -04:00
}