sysdetails

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOpenSSHVersion

func GetOpenSSHVersion() string

getOpenSSHVersion attempts to get OpenSSH version using multiple fallback methods

Types

type OSType

type OSType string

OSType represents the operating system type

const (
	OSTypeGeneric OSType = "generic"
	OSTypeRHEL    OSType = "rhel"
	OSTypeDebian  OSType = "debian"
	OSTypeArch    OSType = "arch"
	OSTypeSUSE    OSType = "suse"
)

Operating system constants

func DetectOS

func DetectOS() OSType

DetectOS determines the type of operating system.

Jump to

Keyboard shortcuts

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