mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-10-13 14:33:38 -04:00
13 lines
203 B
Go
13 lines
203 B
Go
package core
|
|
|
|
type ConnectionConfig interface {
|
|
Protocol() string
|
|
Content() []byte
|
|
}
|
|
|
|
type PointConfig interface {
|
|
Port() uint16
|
|
InboundConfig() ConnectionConfig
|
|
OutboundConfig() ConnectionConfig
|
|
}
|