distro

package
v1.12.3 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: BSD-3-Clause Imports: 2 Imported by: 53

Documentation

Overview

Package distro reports which distro we're running on.

Index

Constants

View Source
const (
	Debian   = Distro("debian")
	Arch     = Distro("arch")
	Synology = Distro("synology")
	OpenWrt  = Distro("openwrt")
	NixOS    = Distro("nixos")
	QNAP     = Distro("qnap")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Distro

type Distro string

func Get

func Get() Distro

Get returns the current distro, or the empty string if unknown.

Jump to

Keyboard shortcuts

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