osKit

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

go:build windows

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDiskSpaceInfo added in v0.2.6

func GetDiskSpaceInfo() (string, error)

GetDiskSpaceInfo 获取硬盘容量信息

func GetLocalIp added in v0.1.0

func GetLocalIp() (string, error)

GetLocalIp 获取本地ip

func GetOsInfo added in v0.2.6

func GetOsInfo() (string, error)

GetOsInfo 获取系统信息

Types

type BootTimeInfo

type BootTimeInfo struct {
	BootTime string `json:"bootTime"` //开机时间
	RunTime  string `json:"runTime"`  // 运行时间
}

func GetBootTime added in v0.2.6

func GetBootTime() BootTimeInfo

GetBootTime 开机时间

Jump to

Keyboard shortcuts

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