Projetos
Ver no GitHub
stmcginnis/gofish
Sobre
Gofish is a Golang client library for DMTF Redfish and SNIA Swordfish interaction.
Ferramentas de desenvolvimentoCrescimento medido de estrelas
- em 24 h
- +1
- em 7 dias
- +2
- em 15 dias
- +3
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
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)
}
}
Explore projetos relacionados
Carregando…