20 lines
326 B
Go
20 lines
326 B
Go
package health
|
|
|
|
import (
|
|
"git.lxtend.com/qqbot/handler"
|
|
"git.lxtend.com/qqbot/model"
|
|
)
|
|
|
|
func init() {
|
|
handler.RegisterHandler("health", health)
|
|
}
|
|
|
|
func health(msg model.Message) (reply model.Reply) {
|
|
heathResult := ""
|
|
return model.Reply{
|
|
ReplyMsg: heathResult,
|
|
ReferOriginMsg: true,
|
|
FromMsg: msg,
|
|
}
|
|
}
|