server_info

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LinuxServerInfo

type LinuxServerInfo struct {
}

func NewLinuxServerInfo

func NewLinuxServerInfo() *LinuxServerInfo

func (*LinuxServerInfo) GetBaseBoardSerial added in v1.1.3

func (s *LinuxServerInfo) GetBaseBoardSerial() (string, error)

func (*LinuxServerInfo) GetCPUSerial

func (s *LinuxServerInfo) GetCPUSerial() ([]string, error)

type ServerInfo

type ServerInfo interface {
	GetCPUSerial() ([]string, error)
	GetBaseBoardSerial() (string, error)
}

Jump to

Keyboard shortcuts

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