23 lines
392 B
Go
23 lines
392 B
Go
package robot
|
|
|
|
import (
|
|
"go_dreamfactory/comm"
|
|
"go_dreamfactory/pb"
|
|
)
|
|
|
|
var notify_builders = []*TestCase{
|
|
{
|
|
//create
|
|
desc: "全局通知",
|
|
mainType: comm.MainTypeNotify,
|
|
subType: comm.SubTypeErrorNotify,
|
|
rsp: &pb.NotifyErrorNotifyPush{},
|
|
enabled: true,
|
|
},
|
|
}
|
|
|
|
//声明加入到构建器并发起请求
|
|
func (r *Robot) RunNotify() {
|
|
r.addBuilders(notify_builders)
|
|
}
|