Documentation ¶
Index ¶
- type Watcher
- func (w *Watcher) AddChat(cht chat.Chat) error
- func (w *Watcher) AddServer(serv server.Server) error
- func (w *Watcher) GetChat(name string) chat.Chat
- func (w *Watcher) GetChats() map[string]chat.Chat
- func (w *Watcher) GetServer() []server.Server
- func (w *Watcher) Load(config *config.Config) error
- func (w *Watcher) Start() error
- func (w *Watcher) Watch(serv server.Server)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
func (*Watcher) AddChat ¶
AddChat не является потокобезопасным (да и вообще кому в голову может прийти добавлять методы в разных потоках?)
Click to show internal directories.
Click to hide internal directories.