system

package
v0.0.0-...-4097794 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2017 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GlobalStatus = &Status{}
)

Functions

This section is empty.

Types

type Inventory

type Inventory struct {
}

func NewInventory

func NewInventory() *Inventory

func (*Inventory) Darwin

func (inv *Inventory) Darwin() bool

func (*Inventory) Linux

func (inv *Inventory) Linux() bool

func (*Inventory) LinuxPlatform

func (inv *Inventory) LinuxPlatform() string

func (*Inventory) Version

func (inv *Inventory) Version() string

func (*Inventory) Windows

func (inv *Inventory) Windows() bool

type Status

type Status struct {
	Status  int    `json:"status"`
	Message string `json:"message"`
}

func (*Status) Set

func (status *Status) Set(state int, message string)

Jump to

Keyboard shortcuts

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