Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "oscsync",
Short: "Sync programs via OSC",
Long: `Sync programs via OSC`,
}
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
type Server ¶
type Server struct { ServerConfig // contains filtered or unexported fields }
Server runs an oscsync server.
func NewServer ¶
func NewServer(config ServerConfig) (*Server, error)
NewServer creates a new oscsync server.
func (*Server) HandleSlaveAdd ¶ added in v0.1.1
HandleSlaveAdd handles the OSC message to add a slave.
func (*Server) HandleSlaveRemove ¶ added in v0.1.1
HandleSlaveRemove handles the OSC message to remove a slave.
func (*Server) HandleTempo ¶
HandleTempo handles tempo updates.
type ServerConfig ¶
type ServerConfig struct {
// contains filtered or unexported fields
}
ServerConfig contains configurationn for an oscsync server.
Click to show internal directories.
Click to hide internal directories.