Documentation ¶
Index ¶
- func GetUrls(source string) []string
- type About
- func (m *About) Chat(msg xmpp.Chat)
- func (m *About) CheckEnv() bool
- func (m *About) Description() string
- func (m *About) GetName() string
- func (m *About) GetOptions() map[string]string
- func (m *About) GetSummary() string
- func (m *About) Help() string
- func (m *About) ModCommand(cmd string, msg xmpp.Chat)
- func (m *About) Presence(pres xmpp.Presence)
- func (m *About) Restart()
- func (m *About) SetOption(key, val string)
- func (m *About) Start(bot *robot.Bot)
- func (m *About) Stop()
- type ChatLogger
- type Example
- func (m *Example) Chat(msg xmpp.Chat)
- func (m *Example) CheckEnv() bool
- func (m *Example) Description() string
- func (m *Example) GetName() string
- func (m *Example) GetOptions() map[string]string
- func (m *Example) GetSummary() string
- func (m *Example) Help() string
- func (m *Example) Presence(pres xmpp.Presence)
- func (m *Example) Restart()
- func (m *Example) SetOption(key, val string)
- func (m *Example) Start(bot *robot.Bot)
- func (m *Example) Stop()
- type Logger
- func (m *Logger) Chat(msg xmpp.Chat)
- func (m *Logger) CheckEnv() bool
- func (m *Logger) Description() string
- func (m *Logger) GetName() string
- func (m *Logger) GetOptions() map[string]string
- func (m *Logger) GetRoomLogs(jid string) ([]ChatLogger, error)
- func (m *Logger) GetSummary() string
- func (m *Logger) Help() string
- func (m *Logger) IndexPage(w http.ResponseWriter, r *http.Request)
- func (m *Logger) JIDPage(w http.ResponseWriter, r *http.Request)
- func (m *Logger) LogInsert(msg xmpp.Chat) (err error)
- func (m *Logger) Presence(pres xmpp.Presence)
- func (m *Logger) Restart()
- func (m *Logger) SelectAllText() ([]ChatLogger, error)
- func (m *Logger) SetOption(key, val string)
- func (m *Logger) ShowPage(w http.ResponseWriter, r *http.Request)
- func (m *Logger) Start(bot *robot.Bot)
- func (m *Logger) Stop()
- type Notify
- func (m *Notify) Chat(msg xmpp.Chat)
- func (m *Notify) CheckEnv() bool
- func (m *Notify) Description() string
- func (m *Notify) GetName() string
- func (m *Notify) GetOptions() map[string]string
- func (m *Notify) GetSummary() string
- func (m *Notify) Help() string
- func (m *Notify) IsAllowed(ip string) bool
- func (m *Notify) JIDPage(w http.ResponseWriter, r *http.Request)
- func (m *Notify) ModCommand(cmd string, msg xmpp.Chat)
- func (m *Notify) Presence(pres xmpp.Presence)
- func (m *Notify) Restart()
- func (m *Notify) SetOption(key, val string)
- func (m *Notify) Start(bot *robot.Bot)
- func (m *Notify) Stop()
- type Random
- func (m *Random) Chat(msg xmpp.Chat)
- func (m *Random) CheckEnv() bool
- func (m *Random) Description() string
- func (m *Random) GetName() string
- func (m *Random) GetOptions() map[string]string
- func (m *Random) GetSummary() string
- func (m *Random) Help() string
- func (m *Random) Presence(pres xmpp.Presence)
- func (m *Random) Restart()
- func (m *Random) SetOption(key, val string)
- func (m *Random) Start(bot *robot.Bot)
- func (m *Random) Stop()
- type Tuling
- func (m *Tuling) Chat(msg xmpp.Chat)
- func (m *Tuling) CheckEnv() bool
- func (m *Tuling) Description() string
- func (m *Tuling) GetAnswer(text, uid string) string
- func (m *Tuling) GetName() string
- func (m *Tuling) GetOptions() map[string]string
- func (m *Tuling) GetSummary() string
- func (m *Tuling) Help() string
- func (m *Tuling) Presence(pres xmpp.Presence)
- func (m *Tuling) Request(words, uid string) (text string, err error)
- func (m *Tuling) Restart()
- func (m *Tuling) SetOption(key, val string)
- func (m *Tuling) Start(bot *robot.Bot)
- func (m *Tuling) Stop()
- type Url
- func (m *Url) Chat(msg xmpp.Chat)
- func (m *Url) CheckEnv() bool
- func (m *Url) Description() string
- func (m *Url) GetHelper(text string) string
- func (m *Url) GetName() string
- func (m *Url) GetOptions() map[string]string
- func (m *Url) GetSummary() string
- func (m *Url) Help() string
- func (m *Url) Presence(pres xmpp.Presence)
- func (m *Url) Restart()
- func (m *Url) SetOption(key, val string)
- func (m *Url) Start(bot *robot.Bot)
- func (m *Url) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type About ¶
type About struct { Name string // contains filtered or unexported fields }
func (*About) Description ¶
func (*About) GetOptions ¶
func (*About) GetSummary ¶
func (*About) ModCommand ¶
type ChatLogger ¶
type Example ¶
type Example struct { Name string Option map[string]bool // contains filtered or unexported fields }
func NewExample ¶
func (*Example) Description ¶
func (*Example) GetOptions ¶
func (*Example) GetSummary ¶
type Logger ¶
func (*Logger) Description ¶
func (*Logger) GetOptions ¶
func (*Logger) GetRoomLogs ¶
func (m *Logger) GetRoomLogs(jid string) ([]ChatLogger, error)
func (*Logger) GetSummary ¶
func (*Logger) IndexPage ¶
func (m *Logger) IndexPage(w http.ResponseWriter, r *http.Request)
web pages
func (*Logger) SelectAllText ¶
func (m *Logger) SelectAllText() ([]ChatLogger, error)
type Notify ¶
type Notify struct { Name string Allows []string Option map[string]string // contains filtered or unexported fields }
func (*Notify) Description ¶
func (*Notify) GetOptions ¶
func (*Notify) GetSummary ¶
func (*Notify) ModCommand ¶
type Random ¶
type Random struct { Name string FuckPath string RandomPath string FuckList []string RandomList []string Option map[string]bool // contains filtered or unexported fields }
func (*Random) Description ¶
func (*Random) GetOptions ¶
func (*Random) GetSummary ¶
type Tuling ¶
type Tuling struct { Name string URL string Key string Option map[string]bool // contains filtered or unexported fields }
func (*Tuling) Description ¶
func (*Tuling) GetOptions ¶
func (*Tuling) GetSummary ¶
type Url ¶
type Url struct { Name string Option map[string]interface{} // contains filtered or unexported fields }
func (*Url) Description ¶
func (*Url) GetOptions ¶
func (*Url) GetSummary ¶
Click to show internal directories.
Click to hide internal directories.