mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-16 09:26:21 -05: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
|
|
}
|