Projets
Voir sur GitHub
stmcginnis/gofish
À propos
Gofish is a Golang client library for DMTF Redfish and SNIA Swordfish interaction.
Outils de développementProgression mesurée des étoiles
- in 24h
- +1
- in 7 days
- +2
- in 15 days
- +3
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalGofish - Redfish and Swordfish client library

Introduction
Gofish is a Golang library for interacting with DMTF Redfish and SNIA Swordfish enabled devices.
Usage
Basic usage would be:
package main
import (
"fmt"
"github.com/stmcginnis/gofish"
)
func main() {
c, err := gofish.ConnectDefault("http://localhost:5000")
if err != nil {
panic(err)
}
service := c.Service
chassis, err := service.Chassis()
if err != nil {
panic(err)
}
for _, chass := range chassis {
fmt.Printf("Chassis: %#v\n\n", chass)
}
}
Explorer des projets similaires
Chargement…