osKit

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

go:build linux

go:build windows

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OsInfo

func OsInfo() (string, error)

OsInfo 获取系统信息

Types

type BootTimeInfo

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

func BootTime

func BootTime() BootTimeInfo

BootTime 开机时间

Jump to

Keyboard shortcuts

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