Skip to content
/ gofish Public
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

ZainubW/gofish

This branch is 122 commits ahead of, 365 commits behind stmcginnis/gofish:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e0c6e4a · Jan 18, 2022
Jan 17, 2022
Jan 17, 2022
Jan 17, 2022
Sep 5, 2019
Jan 17, 2022
Jan 17, 2022
May 26, 2021
Jun 22, 2020
Jan 17, 2022
Aug 14, 2019
Mar 20, 2021
Jan 17, 2022
Jan 17, 2022
Jan 17, 2022
Jan 17, 2022
Jun 18, 2021

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/ZainubW/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

Packages

No packages published

Languages

  • Go 98.8%
  • Other 1.2%