repositorypackage
0.0.0-20230901113444-a138fef9ff88
Repository: https://github.com/loffa/gosc.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
GOSC
Gosc is a Go native implementation of the OSC protocol.
Protocol specification can be found at: https://ccrma.stanford.edu/groups/osc/spec-1_0.html
Example
package main
import (
"github.com/loffa/gosc"
"log"
)
func main() {
cli, err := gosc.NewClient("127.0.0.1:1234")
if err != nil {
log.Fatalln(err)
}
err = cli.EmitMessage("/info")
if err != nil {
log.Fatalln(err)
}
log.Println("Info message sent!")
}
For more examples please look into the examples
directory.