mirror of
https://github.com/Monibuca/plugin-summary.git
synced 2025-10-12 02:10:18 +08:00
适配引擎升级
This commit is contained in:
@@ -20,12 +20,11 @@ var config = struct {
|
||||
}{1}
|
||||
|
||||
func init() {
|
||||
plugin := &PluginConfig{
|
||||
plugin := PluginConfig{
|
||||
Name: "Summary",
|
||||
Config: &config,
|
||||
Run: Summary.StartSummary,
|
||||
}
|
||||
InstallPlugin(plugin)
|
||||
plugin.Install(Summary.StartSummary)
|
||||
http.HandleFunc("/api/summary", summary)
|
||||
}
|
||||
func summary(w http.ResponseWriter, r *http.Request) {
|
||||
|
Reference in New Issue
Block a user