Documentation
¶
Index ¶
- Constants
- func GetBinPathList() []string
- func GetErrPlatformNotSupport() error
- func IKEUserCount() (out int)
- func IsIpForwardOn() bool
- func IsNotSupport() bool
- func MustIsRoot() bool
- func MustIsRootOnCmd()
- func MustRoot()
- func MustSetCurrentMaxFileNum(limit uint64)
- func MustSetCurrentMaxFileNumToMax()
- func MustSetIptableRule(rule IptableRule)
- func NetworkConnection() (connectionCount int)
- func RecoverPath()
- func SetCurrentMaxFileNum(limit uint64) (err error)
- func SetIpForwardOn()
- func UsagePreInstall()
- type IptableRule
Constants ¶
View Source
const MaxMaxFileNum = 1048576
Variables ¶
This section is empty.
Functions ¶
func GetBinPathList ¶
func GetBinPathList() []string
func GetErrPlatformNotSupport ¶
func GetErrPlatformNotSupport() error
func IKEUserCount ¶
func IKEUserCount() (out int)
func IsIpForwardOn ¶
func IsIpForwardOn() bool
func IsNotSupport ¶
func IsNotSupport() bool
func MustIsRoot ¶
func MustIsRoot() bool
func MustIsRootOnCmd ¶
func MustIsRootOnCmd()
func MustSetCurrentMaxFileNum ¶
func MustSetCurrentMaxFileNum(limit uint64)
func MustSetCurrentMaxFileNumToMax ¶
func MustSetCurrentMaxFileNumToMax()
func MustSetIptableRule ¶
func MustSetIptableRule(rule IptableRule)
func NetworkConnection ¶
func NetworkConnection() (connectionCount int)
func RecoverPath ¶
func RecoverPath()
func SetCurrentMaxFileNum ¶
func SetIpForwardOn ¶
func SetIpForwardOn()
func UsagePreInstall ¶
func UsagePreInstall()
Types ¶
type IptableRule ¶
func MustGetIptableRuleList ¶
func MustGetIptableRuleList() []IptableRule
Source Files
¶
Click to show internal directories.
Click to hide internal directories.