Skip to content
forked from stmcginnis/gofish

Gofish is a Golang client library for DMTF Redfish and SNIA Swordfish interaction.

License

Notifications You must be signed in to change notification settings

innogames/gofish

This branch is 24 commits behind stmcginnis/gofish:main.

Folders and files

NameName
Last commit message
Last commit date
Aug 2, 2024
Jul 8, 2024
May 16, 2024
Sep 5, 2019
Oct 17, 2024
Oct 17, 2024
Jul 8, 2024
Jul 5, 2024
Apr 17, 2024
Apr 17, 2024
Aug 14, 2019
Aug 2, 2024
Apr 11, 2021
Jul 3, 2024
Apr 17, 2024
Jul 10, 2024
Apr 6, 2023
Jul 5, 2024
Apr 19, 2024

Repository files navigation

Gofish - Redfish and Swordfish client library

Go Doc Go Report Card Releases LICENSE

Gofish Logo

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)
    }
}

About

Gofish is a Golang client library for DMTF Redfish and SNIA Swordfish interaction.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.6%
  • Other 0.4%