sysfeat

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package sysfeat fetches information about the host system which can be used to enable if disable specific features depending on what's supported.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Features

type Features struct {
	// Whether the system supports limiting the swap space of a process or not.
	SwapLimitSupported bool
}

Features contains information about what features the host system supports.

func Fetch

func Fetch() (*Features, error)

Jump to

Keyboard shortcuts

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