mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-04 17:27:23 -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
|
|
}
|