runtimeKit

package
v2.8.142 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package runtimeKit 主要是对如下包的封装:"runtime"

Index

Constants

This section is empty.

Variables

View Source
var GetHostInfo func() (*host.InfoStat, error) = host.Info
View Source
var GoRoot string

GoRoot 环境变量GOROOT

View Source
var GoVersion string

GoVersion Golang的版本号

Functions

func GetMacAddresses

func GetMacAddresses() ([]string, error)

GetMacAddresses

参考: (1) https://blog.csdn.net/chixielao6059/article/details/100860506 (2) github.com/apache/rocketmq-clients/golang/v5 中的 utils.go

@return MAC地址:主机网卡的物理地址.

Types

This section is empty.

Jump to

Keyboard shortcuts

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