mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-06-10 18:00:43 +00:00
17 lines
200 B
Go
17 lines
200 B
Go
package transport
|
|
|
|
type StreamType int
|
|
|
|
const (
|
|
StreamTypeTCP = StreamType(0)
|
|
)
|
|
|
|
type TCPConfig struct {
|
|
ConnectionReuse bool
|
|
}
|
|
|
|
type Config struct {
|
|
StreamType StreamType
|
|
TCPConfig *TCPConfig
|
|
}
|