manage

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

package manage ui apis

Index

Constants

This section is empty.

Variables

View Source
var StartTime int64

StartTime

Functions

func DelSession

func DelSession(c *gin.Context)

DelSession

@param c

func GetFileInfos

func GetFileInfos(c *gin.Context)

GetFileInfos

@param c

func GetFiles

func GetFiles(c *gin.Context)

GetFiles

@param c

func GetStatus

func GetStatus(c *gin.Context)

GetStatus

@param c

func GetSyncing added in v0.7.5

func GetSyncing(c *gin.Context)

GetUploading

@param c

func GetUploaded

func GetUploaded(c *gin.Context)

GetUploaded

@param c

func GetUploading

func GetUploading(c *gin.Context)

GetUploading

@param c

func InitResource

func InitResource(engine *gin.Engine) *gin.Engine

InitResource

@param engine
@return *gin.Engine

func ManageRouter

func ManageRouter(g *gin.Engine)

ManageRouter

@param g

Types

type HtmlHandler

type HtmlHandler struct{}

HtmlHandler

func NewHtmlHandler

func NewHtmlHandler() *HtmlHandler

NewHtmlHandler

@return *HtmlHandler

func (*HtmlHandler) Index

func (h *HtmlHandler) Index(c *gin.Context)

Index

@receiver h
@param c

func (*HtmlHandler) RedirectIndex

func (h *HtmlHandler) RedirectIndex(c *gin.Context)

RedirectIndex 重定向

type Res

type Res struct {
	Session  models.UploadSession `json:"upload_session"`
	FileInfo models.File          `json:"file_info"`
	Status   string               `json:"status"`
}

Res

type SyncInfoRes added in v0.7.5

type SyncInfoRes struct {
	Session  models.SyncSession `json:"upload_session"`
	FileInfo models.File        `json:"file_info"`
	Status   string             `json:"status"`
}

Res

Jump to

Keyboard shortcuts

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