Skip to content

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

License

Notifications You must be signed in to change notification settings

metal-stack/go-hal

Repository files navigation

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/detect"
)

func main() {
    smcInBand, err := detect.ConnectInBand()
    if err != nil {
        panic(err)
    }

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

    err = smcInBand.PowerOff()
}

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published