mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-19 23:03:08 +00:00
Refresh rate of a inbound detour allocation
This commit is contained in:
1 parent
71c70416f5
commit
e19d8002a8
3 files changed
+13
-2
No files matched your search
@@ -12,6 +12,11 @@ import (
|
||||
type InboundDetourAllocationConfig struct {
|
||||
StrategyValue string `json:"strategy"`
|
||||
ConcurrencyValue int `json:"concurrency"`
|
||||
RefreshSec int `json:"refresh"`
|
||||
}
|
||||
|
||||
func (this *InboundDetourAllocationConfig) Refresh() int {
|
||||
return this.RefreshSec
|
||||
}
|
||||
|
||||
func (this *InboundDetourAllocationConfig) Strategy() string {
|
||||
|
||||
Reference in new issue
Block a user