types

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CopyExportRequest added in v1.0.22

type CopyExportRequest struct {
	Name string `json:"name"`
}

type ExportExcelCol added in v1.0.22

type ExportExcelCol struct {
	Type  string `json:"type"`
	Value string `json:"value"`
}

type ExportExcelReply added in v1.0.22

type ExportExcelReply struct {
	Id  uint32 `json:"id"`
	Sha string `json:"sha"`
	Key string `json:"key"`
}

type ExportExcelRequest added in v1.0.22

type ExportExcelRequest struct {
	Name    string              `json:"name"`
	Files   []*ExportFileItem   `json:"files"`
	Headers []string            `json:"headers"`
	Rows    [][]*ExportExcelCol `json:"rows"`
}

type ExportFileItem added in v1.0.22

type ExportFileItem struct {
	Value  string `json:"value"`
	Rename string `json:"rename"`
}

type ExportFileReply added in v1.0.22

type ExportFileReply struct {
	Id uint32 `json:"id"`
}

type ExportFileRequest added in v1.0.22

type ExportFileRequest struct {
	Name  string            `json:"name"`
	Files []*ExportFileItem `json:"files"`
	Ids   []uint32          `json:"ids"`
}

type GetExportFileCountRequest added in v1.0.27

type GetExportFileCountRequest struct {
	Sha    string `json:"sha"`
	Status string `json:"status"`
}

type GetExportRequest added in v1.0.22

type GetExportRequest struct {
	Id  *uint32 `json:"id"`
	Sha *string `json:"sha"`
}

type GetFileBytesFunc added in v1.0.28

type GetFileBytesFunc func([]byte) error

type GetFileBytesRequest added in v1.0.28

type GetFileBytesRequest struct {
	Id  *uint32 `json:"id"`
	Sha *string `json:"sha"`
	Key *string `json:"key"`
}

type GetFileRequest

type GetFileRequest struct {
	Id  *uint32 `json:"id"`
	Sha *string `json:"sha"`
	Key *string `json:"key"`
}

type GetUserFileRequest added in v1.2.0

type GetUserFileRequest struct {
	DirectoryId uint32
	UserId      uint32
	FileId      uint32
	Directory   *string `json:"directory"`
	Id          *uint32 `json:"id"`
	Key         *string `json:"key"`
}

type ListDirectoryRequest added in v1.0.22

type ListDirectoryRequest struct {
	Order   *string `json:"order"`
	OrderBy *string `json:"orderBy"`
}

type ListExportRequest added in v1.0.22

type ListExportRequest struct {
	Page      uint32  `json:"page"`
	PageSize  uint32  `json:"pageSize"`
	Order     *string `json:"order"`
	OrderBy   *string `json:"orderBy"`
	Name      *string `json:"name"`
	Status    *string `json:"status"`
	ExpiredAt *int64  `json:"expiredAt"`
}

type ListFileRequest added in v1.0.22

type ListFileRequest struct {
	Page        uint32   `json:"page"`
	PageSize    uint32   `json:"pageSize"`
	Order       *string  `json:"order"`
	OrderBy     *string  `json:"orderBy"`
	DirectoryId *uint32  `json:"directoryId"`
	Status      *string  `json:"status"`
	Name        *string  `json:"name"`
	KeyList     []string `json:"keyList"`
}

type ListUserFileRequest added in v1.2.0

type ListUserFileRequest struct {
	Page        uint32  `json:"page"`
	PageSize    uint32  `json:"pageSize"`
	Order       *string `json:"order"`
	OrderBy     *string `json:"orderBy"`
	DirectoryId *uint32 `json:"directoryId"`
	Name        *string `json:"name"`
}

type PrepareUploadFileReply added in v1.0.22

type PrepareUploadFileReply struct {
	Uploaded     bool     `json:"uploaded"`
	ChunkSize    *uint32  `json:"chunkSize"`
	ChunkCount   *uint32  `json:"chunkCount"`
	UploadId     *string  `json:"uploadId"`
	UploadChunks []uint32 `json:"uploadChunks"`
	Sha          *string  `json:"sha"`
	Key          *string  `json:"key"`
}

type PrepareUploadFileRequest added in v1.0.22

type PrepareUploadFileRequest struct {
	DirectoryId   *uint32 `json:"directoryId"`
	DirectoryPath *string `json:"directoryPath"`
	Store         string  `json:"store"`
	Name          string  `json:"name"`
	Size          uint32  `json:"size"`
	Sha           string  `json:"sha"`
	Key           string  `json:"key"`
}

type UploadChunkFileRequest added in v1.2.2

type UploadChunkFileRequest struct {
	Data     []byte `json:"data"`
	UploadId string `json:"uploadId"`
	Index    uint32 `json:"index"`
}

type UploadFileReply added in v1.0.22

type UploadFileReply struct {
	Sha string `json:"sha"`
	Key string `json:"key"`
}

type UploadFileRequest added in v1.0.22

type UploadFileRequest struct {
	DirectoryId   *uint32 `json:"directoryId"`
	DirectoryPath *string `json:"directoryPath"`
	Store         string  `json:"store"`
	Name          string  `json:"name"`
	Sha           string  `json:"sha"`
	Data          []byte  `json:"data"`
}

Jump to

Keyboard shortcuts

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