1
0
forked from x/icebergs

add git.webhook

This commit is contained in:
shylinux 2020-04-19 01:04:17 +08:00
parent 44b6ef179c
commit 5ead60e082

View File

@ -2,6 +2,7 @@ package git
import (
ice "github.com/shylinux/icebergs"
"github.com/shylinux/icebergs/base/web"
"github.com/shylinux/icebergs/core/code"
kit "github.com/shylinux/toolkits"
@ -273,7 +274,10 @@ var Index = &ice.Context{Name: "git", Help: "代码库",
}
m.Cmdy("total", arg)
}},
"/webhook": {Name: "/webhook", Help: "/webhook", Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
}},
},
}
func init() { code.Index.Register(Index, nil) }
func init() { code.Index.Register(Index, &web.Frame{}) }