common

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateMd5

func CalculateMd5(str string) string

func CalculateMd5ForBytes

func CalculateMd5ForBytes(bytes []byte) string

func GetFileSize

func GetFileSize(f string) int64

func GetLogPath

func GetLogPath(fileName string) string

func GetSystemUsageRate

func GetSystemUsageRate() (cpuRate float64, memRate float64, err error)

func PointerToString

func PointerToString(value *string) string

PointerToString convert *string to string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL