mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-15 08:46:34 -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
|
|
}
|