Add exclude-listeners parameter
This commit is contained in:
parent
ebc48e3615
commit
c0382eaad9
10 changed files with 47 additions and 22 deletions
|
|
@ -12,12 +12,12 @@ import (
|
|||
type File struct {
|
||||
handle *os.File
|
||||
name string
|
||||
sessions chan base.Session
|
||||
sessions chan *base.Session
|
||||
mutex sync.Mutex
|
||||
}
|
||||
|
||||
// NewFile creates a file notifier
|
||||
func NewFile(name string, sessions chan base.Session) Notifier {
|
||||
func NewFile(name string, sessions chan *base.Session) Notifier {
|
||||
return &File{
|
||||
name: name,
|
||||
sessions: sessions,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue