Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
gompd
✓ github.com/fhs/gompd
Connects to MPD and prints the current status.
package main
import (
"fmt"
"github.com/fhs/gompd/mpd"
)
func main() {
conn, err := mpd.Dial("tcp", "localhost:6600")
if err != nil {
panic(err)
}
defer conn.Close()
attrs, err := conn.Status()
if err != nil {
panic(err)
}
fmt.Println(attrs)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
2.0.0+incompatiblelatest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.