common

package module
v0.0.0-...-c4ed39f Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCpuArch

func GetCpuArch() string

func GetCpuBrandName

func GetCpuBrandName() string

func GetCpuCores

func GetCpuCores() int

func GetCurrTimestamp

func GetCurrTimestamp() int64

GetCurrTimestamp return current timestamp

func GetDisks

func GetDisks() []string

func GetLinuxDiskList

func GetLinuxDiskList() []string

func GetMacDiskList

func GetMacDiskList() []string

func GetMemorySize

func GetMemorySize() uint64

func GetOsVersion

func GetOsVersion() string

func GetUUID

func GetUUID() string

GetUUID return a new UUID

func GetWindowsDiskList

func GetWindowsDiskList() []string

func RunUDPServer

func RunUDPServer()

func SetLogger

func SetLogger(logLevel string) *zap.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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