Remove unused ports

This commit is contained in:
Bel LaPointe
2018-10-09 09:07:48 -06:00
parent 798d451103
commit e4785e6a05
4 changed files with 13 additions and 19 deletions

View File

@@ -11,15 +11,13 @@ import (
type Monitor struct {
newItems chan Item
trigger func(string)
port string
}
func New(port string, trigger func(string)) (*Monitor, error) {
func New(trigger func(string)) (*Monitor, error) {
newItems := make(chan Item)
return &Monitor{
newItems: newItems,
trigger: trigger,
port: port,
}, nil
}