Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnmarshalArgument ¶
UnmarshalArgument tries to parse a given value from the osc message arguments at given index
func UnmarshalArguments ¶
UnmarshalArguments tries to match the given variables to osc message arguments
Types ¶
type RegexpDispatcher ¶
type RegexpDispatcher struct {
// contains filtered or unexported fields
}
RegexpDispatcher is a dispatcher for OSC packets. It handles the dispatching of received OSC packets to Handlers for their given address.
func NewRegexpDispatcher ¶
func NewRegexpDispatcher() *RegexpDispatcher
NewRegexpDispatcher returns an RegexpDispatcher.
func (*RegexpDispatcher) AddMsgHandler ¶
func (s *RegexpDispatcher) AddMsgHandler(addr string, handler osc.MethodFunc) error
AddMsgHandler adds a new message handler for the given OSC address.
Click to show internal directories.
Click to hide internal directories.