Skip to main content
Version: v0.22.4

go-hal a hardware abstraction layer for servers

GoDoc

go server hardware abstraction, tries to lower the burden of supporting different server vendors.

Example usage:

package main

import (
"fmt"
"github.com/metal-stack/go-hal/connect"
)

func main() {
ib, err := connect.InBand()
if err != nil {
panic(err)
}

firmware, err := ib.Firmware()
if err != nil {
panic(err)
}
fmt.Println(firmware)
// UEFI

err = ib.PowerOff()
}