Documentation
¶
Index ¶
- func EncodeACKRstStreamHeader(dst []byte) (header []byte)
- func EncodeFINRstStreamHeader(dst []byte) (header []byte)
- func EncodeHTTP2DataFrameHeader(datalen int, dst []byte) (header []byte)
- func FileExists(path string) (bool, error)
- func GetCurrentDir() string
- func GetLogFileName() string
- func GetLogFilePath() string
- func GetLogFileWriter(maxAge time.Duration, rotationTime time.Duration) (io.Writer, error)
- func IsIP(ip string) bool
- func IsPrivateIP(ip string) bool
- func IsTypeAIP(ip string) bool
- func IsTypeBIP(ip string) bool
- func IsTypeCIP(ip string) bool
- func SysPowershellMajorVersion() int
- func SysSupportPowershell() bool
- type Bytes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func GetCurrentDir ¶
func GetCurrentDir() string
func GetLogFileName ¶
func GetLogFileName() string
func GetLogFilePath ¶
func GetLogFilePath() string
func GetLogFileWriter ¶
func IsPrivateIP ¶
func SysPowershellMajorVersion ¶
func SysPowershellMajorVersion() int
func SysSupportPowershell ¶
func SysSupportPowershell() bool
Types ¶
type Bytes ¶
type Bytes struct {
// contains filtered or unexported fields
}
Bytes is a pool of byte slices that can be re-used. Slices in this pool will not be garbage collected when not in use.
Click to show internal directories.
Click to hide internal directories.