Add exclude-listeners parameter
This commit is contained in:
parent
ebc48e3615
commit
c0382eaad9
10 changed files with 47 additions and 22 deletions
|
|
@ -7,11 +7,11 @@ import (
|
|||
|
||||
// Console notifier structure
|
||||
type Console struct {
|
||||
sessions chan base.Session
|
||||
sessions chan *base.Session
|
||||
}
|
||||
|
||||
// NewConsole creates a console notifier
|
||||
func NewConsole(sessions chan base.Session) Notifier {
|
||||
func NewConsole(sessions chan *base.Session) Notifier {
|
||||
return &Console{
|
||||
sessions: sessions,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue