internal

package
v0.0.0-...-4e1bcef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommentAction

func CommentAction(c *gin.Context)

func CommentAll

func CommentAll(c *gin.Context)

func CommentCreate

func CommentCreate(c *gin.Context)

func CommentDelete

func CommentDelete(c *gin.Context)

func GinbroAll

func GinbroAll(c *gin.Context)

func GinbroDb

func GinbroDb(c *gin.Context)

func GinbroDownload

func GinbroDownload(c *gin.Context)

func GinbroGen

func GinbroGen(c *gin.Context)

func GinbroModel

func GinbroModel(c *gin.Context)

func HackNewAll

func HackNewAll(c *gin.Context)

func HackNewRm

func HackNewRm(c *gin.Context)

func HackNewUpdate

func HackNewUpdate(c *gin.Context)

func JwtMiddlewareWslog

func JwtMiddlewareWslog(c *gin.Context)

func LoginAdmin

func LoginAdmin(c *gin.Context)

func LoginCommenter

func LoginCommenter(c *gin.Context)

func Meta

func Meta(c *gin.Context)

func MwUserAdmin

func MwUserAdmin(c *gin.Context)

func MwUserComment

func MwUserComment(c *gin.Context)

func RegisterCommenter

func RegisterCommenter(c *gin.Context)

func SftpCat

func SftpCat(c *gin.Context)

func SftpDl

func SftpDl(c *gin.Context)

func SftpLs

func SftpLs(c *gin.Context)

func SftpMkdir

func SftpMkdir(c *gin.Context)

func SftpRename

func SftpRename(c *gin.Context)

func SftpRm

func SftpRm(c *gin.Context)

func SftpUp

func SftpUp(c *gin.Context)

func SshAll

func SshAll(c *gin.Context)

func SshCreate

func SshCreate(c *gin.Context)

func SshDelete

func SshDelete(c *gin.Context)

func SshLogAll

func SshLogAll(c *gin.Context)

func SshLogDelete

func SshLogDelete(c *gin.Context)

func SshLogUpdate

func SshLogUpdate(c *gin.Context)

func SshOne

func SshOne(c *gin.Context)

func SshUpdate

func SshUpdate(c *gin.Context)

func UserAll

func UserAll(c *gin.Context)

func UserDelete

func UserDelete(c *gin.Context)

func UserUpdate

func UserUpdate(c *gin.Context)

func WsLogHookApi

func WsLogHookApi(hub *wslog.Hub) gin.HandlerFunc

func WsSsh

func WsSsh(c *gin.Context)

handle webSocket connection. first,we establish a ssh connection to ssh server when a webSocket comes; then we deliver ssh data via ssh connection between browser and ssh server. That is, read webSocket data from browser (e.g. 'ls' command) and send data to ssh server via ssh connection; the other hand, read returned ssh data from ssh server and write back to browser via webSocket API.

func Wslog

func Wslog(hub *wslog.Hub) gin.HandlerFunc

func WslogChannel

func WslogChannel(hub *wslog.Hub) gin.HandlerFunc

func WslogHookAll

func WslogHookAll(c *gin.Context)

func WslogHookCreate

func WslogHookCreate(c *gin.Context)

func WslogHookDelete

func WslogHookDelete(c *gin.Context)

func WslogHookUpdate

func WslogHookUpdate(c *gin.Context)

func WslogMsgAll

func WslogMsgAll(c *gin.Context)

func WslogMsgDelete

func WslogMsgDelete(c *gin.Context)

Types

type Ls

type Ls struct {
	Name  string    `json:"name"`
	Path  string    `json:"path"` // including Name
	Size  int64     `json:"size"`
	Time  time.Time `json:"time"`
	Mod   string    `json:"mod"`
	IsDir bool      `json:"is_dir"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL