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/>.
Index ¶
- Variables
- func Cmd(ctx echo.Context) error
- func CmdSendBySockJS(c sockjs.Session) error
- func CmdSendByWebsocket(c *websocket.Conn, ctx echo.Context) error
- func Command(ctx echo.Context) error
- func CommandAdd(ctx echo.Context) error
- func CommandDelete(ctx echo.Context) error
- func CommandEdit(ctx echo.Context) error
- func Connections(ctx echo.Context) (err error)
- func DaemonAdd(ctx echo.Context) error
- func DaemonDelete(ctx echo.Context) error
- func DaemonEdit(ctx echo.Context) error
- func DaemonIndex(ctx echo.Context) error
- func DaemonLog(ctx echo.Context) error
- func DaemonRestart(ctx echo.Context) error
- func ExecCommand(id uint) (*dbschema.NgingCommand, string, error)
- func Hosts(ctx echo.Context) error
- func Info(ctx echo.Context) error
- func InfoBySockJS(c sockjs.Session) error
- func InfoByWebsocket(c *websocket.Conn, ctx echo.Context) error
- func NetStatTCP() (<-chan net.ConnectionStat, error)
- func NetStatUDP() (<-chan net.ConnectionStat, error)
- func ProcessInfo(ctx echo.Context) error
- func ProcessKill(ctx echo.Context) error
- func Service(ctx echo.Context) error
Constants ¶
This section is empty.
Variables ¶
var ErrNotImplemented = errors.New("not implemented yet")
Functions ¶
func CmdSendBySockJS ¶
func CommandAdd ¶
func CommandDelete ¶
func CommandEdit ¶
func Connections ¶ added in v1.1.0
func DaemonDelete ¶
func DaemonEdit ¶
func DaemonIndex ¶
func DaemonRestart ¶
func ExecCommand ¶
func ExecCommand(id uint) (*dbschema.NgingCommand, string, error)
func InfoBySockJS ¶
func NetStatTCP ¶ added in v1.1.0
func NetStatTCP() (<-chan net.ConnectionStat, error)
func NetStatUDP ¶ added in v1.1.0
func NetStatUDP() (<-chan net.ConnectionStat, error)
func ProcessInfo ¶ added in v1.1.0
func ProcessKill ¶ added in v1.1.0
Types ¶
This section is empty.