Documentation ¶
Overview ¶
Nging is a toolbox for webmasters Copyright (C) 2018-present Wenhui Shen <swh@admpub.com>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Nging is a toolbox for webmasters Copyright (C) 2018-present Wenhui Shen <swh@admpub.com>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Nging is a toolbox for webmasters Copyright (C) 2018-present Wenhui Shen <swh@admpub.com>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Nging is a toolbox for webmasters Copyright (C) 2018-present Wenhui Shen <swh@admpub.com>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Index ¶
- Constants
- Variables
- func Add(ctx echo.Context) error
- func Delete(ctx echo.Context) error
- func Edit(ctx echo.Context) error
- func EmailTest(ctx echo.Context) error
- func Exit(ctx echo.Context) error
- func Group(ctx echo.Context) error
- func GroupAdd(ctx echo.Context) error
- func GroupDelete(ctx echo.Context) error
- func GroupEdit(ctx echo.Context) error
- func Index(ctx echo.Context) error
- func Log(ctx echo.Context) error
- func LogDelete(ctx echo.Context) error
- func LogView(ctx echo.Context) error
- func Pause(ctx echo.Context) error
- func Run(ctx echo.Context) error
- func Start(ctx echo.Context) error
- func StartHistory(ctx echo.Context) error
Constants ¶
const ID = `task`
Variables ¶
true, Name: `计划任务`, Action: `task`, Icon: `clock-o`, Children: &navigate.List{ { Display: true, Name: `任务管理`, Action: `index`, }, { Display: true, Name: `新建任务`, Action: `add`, Icon: `plus`, }, { Display: true, Name: `分组管理`, Action: `group`, }, { Display: true, Name: `添加分组`, Action: `group_add`, Icon: `plus`, }, { Display: true, Name: `测试邮件`, Action: `email_test`, }, { Display: false, Name: `修改任务`, Action: `edit`, }, { Display: false, Name: `删除任务`, Action: `delete`, }, { Display: false, Name: `启动任务`, Action: `start`, }, { Display: false, Name: `暂停任务`, Action: `pause`, }, { Display: false, Name: `立即执行任务`, Action: `run`, }, { Display: false, Name: `退出任务`, Action: `exit`, }, { Display: false, Name: `启动历史任务`, Action: `start_history`, }, { Display: false, Name: `修改分组`, Action: `group_edit`, }, { Display: false, Name: `删除分组`, Action: `group_delete`, }, { Display: false, Name: `日志列表`, Action: `log`, }, { Display: false, Name: `日志详情`, Action: `log_view/:id`, }, { Display: false, Name: `删除日志`, Action: `log_delete`, }, }, }Display:
var Module = module.Module{ Startup: ID, Cmder: map[string]cmder.Cmder{ ID: cronCmder.New(), }, Navigate: func(nc *navigate.Collection) { nc.Backend.AddLeftItems(-1, LeftNavigate) }, }
Functions ¶
func GroupDelete ¶
Types ¶
This section is empty.