Refresh rate of a inbound detour allocation

This commit is contained in:
v2ray committed 2015-12-29 20:52:35 +01:00
1 parent 71c70416f5
commit e19d8002a8
3 files changed
+13 -2

No files matched your search

+5
View File
@@ -55,6 +55,11 @@ func (this *PortRange) To() v2net.Port {
type InboundDetourAllocationConfig struct {
StrategyValue string
ConcurrencyValue int
RefreshSec int
}
func (this *InboundDetourAllocationConfig) Refresh() int {
return this.RefreshSec
}
func (this *InboundDetourAllocationConfig) Strategy() string {