v2ray-core/transport/config.go

17 lines
200 B
Go
Raw Normal View History

2016-06-02 01:49:25 +02:00
package transport
type StreamType int
const (
StreamTypeTCP = StreamType(0)
)
type TCPConfig struct {
ConnectionReuse bool
}
type Config struct {
StreamType StreamType
TCPConfig *TCPConfig
}