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 AccountAdd(ctx echo.Context) error
- func AccountDelete(ctx echo.Context) error
- func AccountEdit(ctx echo.Context) error
- func AccountIndex(ctx echo.Context) error
- func Client(ctx echo.Context) error
- func GroupAdd(ctx echo.Context) error
- func GroupDelete(ctx echo.Context) error
- func GroupEdit(ctx echo.Context) error
- func GroupIndex(ctx echo.Context) error
- func Sftp(ctx echo.Context) error
- func SftpSearch(ctx echo.Context, id uint) error
- type TerminalParam
Constants ¶
This section is empty.
Variables ¶
true, Name: `SSH管理`, Action: `term`, Icon: `terminal`, Children: &navigate.List{ { Display: true, Name: `账号管理`, Action: `account`, }, { Display: true, Name: `添加账号`, Action: `account_add`, Icon: `plus`, }, { Display: true, Name: `分组管理`, Action: `group`, }, { Display: true, Name: `添加分组`, Action: `group_add`, Icon: `plus`, }, { Display: false, Name: `修改账号`, Action: `account_edit`, Icon: ``, }, { Display: false, Name: `删除账号`, Action: `account_delete`, Icon: ``, }, { Display: false, Name: `修改分组`, Action: `group_edit`, Icon: ``, }, { Display: false, Name: `删除分组`, Action: `group_delete`, Icon: ``, }, { Display: false, Name: `SSH操作`, Action: `client`, Icon: ``, }, { Display: false, Name: `SFTP操作`, Action: `sftp`, Icon: ``, }, }, }Display:
Functions ¶
func AccountAdd ¶
func AccountDelete ¶
func AccountEdit ¶
func AccountIndex ¶
func GroupDelete ¶
func GroupIndex ¶
Types ¶
type TerminalParam ¶
type TerminalParam struct { Query url.Values User *dbschema.NgingSshUser }