Documentation ¶
Index ¶
- func ConnectSsh(req SshHeader, conn net.Conn) error
- func Download(c *gin.Context)
- func Head(c *gin.Context)
- func Image(c *gin.Context)
- func PreUpload(c *gin.Context)
- func SendSerisData(c *gin.Context)
- type Backend
- type DownloadAck
- type DownloadReq
- type FileServer
- type FileSystem
- type ProxyHeader
- type ProxyServer
- type Resp
- type SshHeader
- type SshServer
- type UploadAck
- type UploadReq
- type WebServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendSerisData ¶
Types ¶
type DownloadAck ¶
type DownloadReq ¶
type DownloadReq struct { }
type FileServer ¶
type FileServer struct {
// contains filtered or unexported fields
}
func NewFileServer ¶
func NewFileServer(cfg *config.Config, lis *pnet.Listener) *FileServer
type FileSystem ¶
type FileSystem struct { }
type ProxyHeader ¶
type ProxyHeader struct {
Port uint16 `json:"port"`
}
type ProxyServer ¶
type ProxyServer struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.