osinfo

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

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

Go to latest
Published: Aug 5, 2016 License: Apache-2.0 Imports: 6 Imported by: 1

README

osinfo

A Cross platform (eventually) library to get Operating System information.

Immediate goal is to support "popular" Linux distributions an add more Operating Systems as they are needed.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Collect

func Collect(i *Info)

Collect grabs OS information with the OS specific functions.

Types

type Info

type Info struct {
	Platform     string
	Kernel       string
	Arch         string
	Version      string
	Distribution string
	Pretty       string
}

func (Info) String

func (i Info) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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