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/>.
Index ¶
- Variables
- func AddonForm(ctx echo.Context) error
- func AddonIndex(ctx echo.Context) error
- func DeleteCaddyfileByID(id uint) error
- func Editable(fileName string) (string, bool)
- 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 Log(ctx echo.Context) error
- func LogShow(ctx echo.Context) error
- func Playable(fileName string) (string, bool)
- func Restart(ctx echo.Context) error
- func SetCaddyfileFunc(ctx echo.Context, v url.Values)
- func Stop(ctx echo.Context) error
- func ValidAddonName(addon string) bool
- func VhostAdd(ctx echo.Context) error
- func VhostDelete(ctx echo.Context) error
- func VhostEdit(ctx echo.Context) error
- func VhostFile(ctx echo.Context) error
- func VhostIndex(ctx echo.Context) error
- func VhostLog(ctx echo.Context) error
- func Vhostbuild(ctx echo.Context) error
Constants ¶
This section is empty.
Variables ¶
true, Name: `网站管理`, Action: `caddy`, Icon: `sitemap`, Children: &navigate.List{ { Display: false, Name: `Caddy日志`, Action: `log_show`, }, { Display: true, Name: `网站列表`, Action: `vhost`, }, { Display: true, Name: `添加网站`, Action: `vhost_add`, Icon: `plus`, }, { Display: false, Name: `重启Caddy`, Action: `restart`, Icon: ``, }, { Display: false, Name: `停止Caddy`, Action: `stop`, Icon: ``, }, { Display: false, Name: `查看网站日志`, Action: `vhost_log`, }, { Display: false, Name: `查看网站动态`, Action: `log`, }, { Display: false, Name: `配置表单`, Action: `addon_form`, Icon: ``, }, { Display: false, Name: `修改网站`, Action: `vhost_edit`, Icon: ``, }, { Display: false, Name: `删除网站`, Action: `vhost_delete`, Icon: ``, }, { Display: false, Name: `管理网站文件`, Action: `vhost_file`, Icon: ``, }, { Display: false, Name: `生成Caddyfile`, Action: `vhost_build`, Icon: ``, }, { Display: true, Name: `分组管理`, Action: `group`, }, { Display: true, Name: `添加分组`, Action: `group_add`, Icon: `plus`, }, { Display: false, Name: `修改分组`, Action: `group_edit`, Icon: ``, }, { Display: false, Name: `删除分组`, Action: `group_delete`, Icon: ``, }, }, }Display:
Functions ¶
func AddonIndex ¶
func DeleteCaddyfileByID ¶
func GroupDelete ¶
func ValidAddonName ¶
func VhostDelete ¶
func VhostIndex ¶
func Vhostbuild ¶
Types ¶
This section is empty.