update
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package core
|
||||
|
||||
var Pushs = map[string]func(int, string){}
|
||||
|
||||
func Push(class string, uid int, content string) {
|
||||
if push, ok := Pushs[class]; ok {
|
||||
push(uid, content)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user