You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
268 B
22 lines
268 B
2 years ago
|
package service
|
||
|
|
||
|
import (
|
||
|
"log"
|
||
|
"sendmsg/message"
|
||
|
)
|
||
|
|
||
|
type Support struct{}
|
||
|
|
||
|
func (s Support) Run() {
|
||
|
log.Printf("[support] start excute...")
|
||
|
|
||
|
}
|
||
|
|
||
|
func send(body message.Body) {
|
||
|
m := message.GetType()
|
||
|
if m == nil || !message.Enabled() {
|
||
|
return
|
||
|
}
|
||
|
m.Send(body)
|
||
|
}
|