Categorygithub.com/essentialkaos/go-icecast

# README

GoReportCard GitHub Actions CI Status GitHub Actions CodeQL Status
Coverage Status

Usage exampleCI StatusLicense


go-icecast is a Go package for working with Icecast Admin API.

Usage example

package main

import (
  "fmt"
  ic "pkg.re/essentialkaos/go-icecast/v3"
)

func main() {
  api, err := ic.NewAPI("https://127.0.0.1:8000", "admin", "MySuppaPAssWOrd")
  api.SetUserAgent("MyApp", "1.2.3")

  if err != nil {
    fmt.Printf("Error: %v\n", err)
    return
  }

  stats, err := api.GetStats()

  if err != nil {
    fmt.Printf("Error: %v\n", err)
    return
  }

  fmt.Println("%-v\n", stats)
}

CI Status

BranchStatus
master (Stable)CI
develop (Unstable)CI

License

Apache License, Version 2.0

# Packages

No description provided by the author