router

package
v0.0.0-...-08dc40a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MIDIRouter

type MIDIRouter struct {
	// contains filtered or unexported fields
}

func New

func New(sourceDevice string, destinationDevice string) (*MIDIRouter, error)

func (*MIDIRouter) AddRule

func (relay *MIDIRouter) AddRule(rule *rule.Rule)

func (*MIDIRouter) SetPassthrough

func (relay *MIDIRouter) SetPassthrough(pass bool)

func (*MIDIRouter) SetSendLimit

func (relay *MIDIRouter) SetSendLimit(delay time.Duration)

func (*MIDIRouter) SetVerbose

func (relay *MIDIRouter) SetVerbose(verb bool)

func (*MIDIRouter) Start

func (relay *MIDIRouter) Start()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL