mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-30 23:37:44 +00:00
configuration for connection reuse
This commit is contained in:
1 parent
6ce7b1d532
commit
a86cd36ad2
9 files changed
+124
-7
No files matched your search
@@ -5,6 +5,7 @@ import (
|
||||
"github.com/v2ray/v2ray-core/app/router"
|
||||
"github.com/v2ray/v2ray-core/common/log"
|
||||
v2net "github.com/v2ray/v2ray-core/common/net"
|
||||
"github.com/v2ray/v2ray-core/transport"
|
||||
)
|
||||
|
||||
type ConnectionConfig struct {
|
||||
@@ -55,6 +56,7 @@ type Config struct {
|
||||
OutboundConfig *ConnectionConfig
|
||||
InboundDetours []*InboundDetourConfig
|
||||
OutboundDetours []*OutboundDetourConfig
|
||||
TransportConfig *transport.Config
|
||||
}
|
||||
|
||||
type ConfigLoader func(init string) (*Config, error)
|
||||
|
||||
Reference in new issue
Block a user