You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: funcs.go
+22-2Lines changed: 22 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,16 +3,22 @@ package vxrouter
3
3
import (
4
4
"os"
5
5
"strconv"
6
+
"time"
6
7
7
8
log "github.com/Sirupsen/logrus"
8
9
)
9
10
10
-
// GetEnvIntWithDefault gets value, prioritizing first opt, if it is not empty, then the environment variable specified by val, and lastly the default.
11
-
funcGetEnvIntWithDefault(val, optstring, defint) int { //nolint: unparam
// GetEnvIntWithDefault gets value, prioritizing first opt, if it is not empty, then the environment variable specified by val, and lastly the default.
20
+
funcGetEnvIntWithDefault(val, optstring, defint) int { //nolint: unparam
// GetEnvDurWithDefault gets value, prioritizing first opt, if it is not empty, then the environment variable specified by val, and lastly the default.
0 commit comments