Documentation
¶
Index ¶
- Constants
- Variables
- type Attribute
- type SkDisk
- func (sd *SkDisk) DiskDump() int
- func (sd *SkDisk) Free()
- func (sd *SkDisk) GetSize() (uint64, error)
- func (sd *SkDisk) GetSmartPowerCycle() (uint64, error)
- func (sd *SkDisk) GetSmartPowerOn() (uint64, error)
- func (sd *SkDisk) GetSmartTemperature() (uint64, error)
- func (sd *SkDisk) IsSleepMode() (bool, error)
- func (sd *SkDisk) ParseIdentify() error
- func (sd *SkDisk) ParseSmartAttr() error
- func (sd *SkDisk) ReadSmartData() error
- type SkDiskData
Constants ¶
View Source
const (
DebugEnabled = false
)
Variables ¶
View Source
var (
InternalError = errors.New("atasmart internal Error")
)
Functions ¶
This section is empty.
Types ¶
type SkDisk ¶
type SkDisk struct { Data *SkDiskData Attributes []Attribute Path string // contains filtered or unexported fields }
func (*SkDisk) GetSmartPowerCycle ¶
func (*SkDisk) GetSmartPowerOn ¶
func (*SkDisk) GetSmartTemperature ¶
func (*SkDisk) IsSleepMode ¶
func (*SkDisk) ParseIdentify ¶
func (*SkDisk) ParseSmartAttr ¶
func (*SkDisk) ReadSmartData ¶
type SkDiskData ¶
Click to show internal directories.
Click to hide internal directories.