https://github.com/metal-stack/go-hal
server hardware abstraction, tries to lower the burden of supporting different server vendors
https://github.com/metal-stack/go-hal
golang-library hal supermicro
Last synced: 28 days ago
JSON representation
server hardware abstraction, tries to lower the burden of supporting different server vendors
- Host: GitHub
- URL: https://github.com/metal-stack/go-hal
- Owner: metal-stack
- License: agpl-3.0
- Created: 2020-02-14T08:08:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-03-11T07:42:06.000Z (3 months ago)
- Last Synced: 2025-04-06T16:49:29.984Z (about 2 months ago)
- Topics: golang-library, hal, supermicro
- Language: Go
- Size: 1.83 MB
- Stars: 14
- Watchers: 8
- Forks: 3
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# go-hal a hardware abstraction layer for servers
[](https://pkg.go.dev/github.com/metal-stack/go-hal)
go server hardware abstraction, tries to lower the burden of supporting different server vendors.
Example usage:
```golang
package mainimport (
"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)
// UEFIerr = smcInBand.PowerOff()
}
```