Documentation ¶
Index ¶
- Constants
- type DownloadRequest
- type FileService
- type Service
- func (this *Service) Config() core.IEntityConf
- func (this *Service) Download(req *DownloadRequest, res *core.SlotResponse)
- func (this *Service) EntityStub() *core.EntityStub
- func (this *Service) Objects() []interface{}
- func (this *Service) Open(s core.IServer, instance core.IService, options htypes.Any) *herrors.Error
- func (this *Service) Upload(req *UploadRequest, res *core.SlotResponse)
- type SvsFile
- type UploadFileItem
- type UploadRequest
Constants ¶
View Source
const ( DownloadFlag = "FILE-DOWNLOAD" PreviewFlag = "FILE-PREVIEW" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownloadRequest ¶ added in v1.1.0
type DownloadRequest struct { core.SlotRequestBase Path *string `json:"path" param:"require"` Preview *bool `json:"preview" param:"require"` }
type FileService ¶
type Service ¶
func (*Service) Config ¶
func (this *Service) Config() core.IEntityConf
func (*Service) Download ¶
func (this *Service) Download(req *DownloadRequest, res *core.SlotResponse)
func (*Service) EntityStub ¶
func (this *Service) EntityStub() *core.EntityStub
func (*Service) Upload ¶
func (this *Service) Upload(req *UploadRequest, res *core.SlotResponse)
type UploadFileItem ¶ added in v1.1.16
type UploadRequest ¶ added in v1.1.0
type UploadRequest struct { core.SlotRequestBase Files *[]UploadFileItem `json:"files" param:"require"` }
Click to show internal directories.
Click to hide internal directories.