res

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntryType

type EntryType string
const (
	EntryTypeDefault     EntryType = "" // 其他未具体处理的类型,统一归到这个类型下
	EntryTypeDir         EntryType = "d"
	EntryTypeLink        EntryType = "l"
	EntryTypeCharDevice  EntryType = "c"
	EntryTypeBlockDevice EntryType = "b"
	EntryTypeSocket      EntryType = "s"
	EntryTypeNamedPipe   EntryType = "p"
)

type ExplorerEntry

type ExplorerEntry struct {
	Name string    `json:"name"`
	Type EntryType `json:"type"`
}

type HostBasicRes

type HostBasicRes struct {
	Id   int64  `json:"id"`
	Name string `json:"name"`
	Ip   string `json:"ip"`
}

type TaskRes

type TaskRes struct {
	*dvmodel.Task
	Concrete any `json:"concrete"`
}

type UploadRes

type UploadRes struct {
	TmpKey   string `json:"tmpKey"`
	FileName string `json:"fileName"`
	FileSize int64  `json:"fileSize"`
}

Jump to

Keyboard shortcuts

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