Documentation ¶
Index ¶
- Constants
- type Conf
- type Listener
- func (this *Listener) AddKeywords() <-chan []*Keyword
- func (this *Listener) AddSymbols() <-chan []string
- func (this *Listener) RemoveKeywords() <-chan []*Keyword
- func (this *Listener) RemoveSymbols() <-chan []string
- func (this *Listener) Send(kind int, data []byte) (err error)
- func (this *Listener) Subscribe(kws, sbs string)
- type Notify
Constants ¶
View Source
const ( ADD = iota + 1 RM )
View Source
const ( KW = iota + 1 SB )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Listener ¶
type Listener struct { AddKeywordsChan chan []*Keyword RemoveKeywordsChan chan []*Keyword AddSymbolsChan chan []string RemoveSymbolsChan chan []string // contains filtered or unexported fields }
func (*Listener) AddKeywords ¶
func (this *Listener) AddKeywords() <-chan []*Keyword
func (*Listener) AddSymbols ¶
func (*Listener) RemoveKeywords ¶
func (this *Listener) RemoveKeywords() <-chan []*Keyword
func (*Listener) RemoveSymbols ¶
Click to show internal directories.
Click to hide internal directories.