Documentation ¶
Index ¶
- type ResourceRpcServer
- func (s *ResourceRpcServer) AddFileFolder(ctx context.Context, in *resourcerpc.FileFolderNewReq) (*resourcerpc.FileFolderDetails, error)
- func (s *ResourceRpcServer) AddFileUpload(ctx context.Context, in *resourcerpc.FileUploadNewReq) (*resourcerpc.FileUploadDetails, error)
- func (s *ResourceRpcServer) DeleteFileFolder(ctx context.Context, in *resourcerpc.IdsReq) (*resourcerpc.BatchResp, error)
- func (s *ResourceRpcServer) DeleteFileUpload(ctx context.Context, in *resourcerpc.IdsReq) (*resourcerpc.BatchResp, error)
- func (s *ResourceRpcServer) FindFileFolderList(ctx context.Context, in *resourcerpc.FindFileFolderListReq) (*resourcerpc.FindFileFolderListResp, error)
- func (s *ResourceRpcServer) FindFileUploadList(ctx context.Context, in *resourcerpc.FindFileUploadListReq) (*resourcerpc.FindFileUploadListResp, error)
- func (s *ResourceRpcServer) UpdateFileFolder(ctx context.Context, in *resourcerpc.FileFolderNewReq) (*resourcerpc.FileFolderDetails, error)
- func (s *ResourceRpcServer) UpdateFileUpload(ctx context.Context, in *resourcerpc.FileUploadNewReq) (*resourcerpc.FileUploadDetails, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceRpcServer ¶
type ResourceRpcServer struct { resourcerpc.UnimplementedResourceRpcServer // contains filtered or unexported fields }
func NewResourceRpcServer ¶
func NewResourceRpcServer(svcCtx *svc.ServiceContext) *ResourceRpcServer
func (*ResourceRpcServer) AddFileFolder ¶
func (s *ResourceRpcServer) AddFileFolder(ctx context.Context, in *resourcerpc.FileFolderNewReq) (*resourcerpc.FileFolderDetails, error)
创建文件夹
func (*ResourceRpcServer) AddFileUpload ¶
func (s *ResourceRpcServer) AddFileUpload(ctx context.Context, in *resourcerpc.FileUploadNewReq) (*resourcerpc.FileUploadDetails, error)
创建文件上传
func (*ResourceRpcServer) DeleteFileFolder ¶
func (s *ResourceRpcServer) DeleteFileFolder(ctx context.Context, in *resourcerpc.IdsReq) (*resourcerpc.BatchResp, error)
删除文件夹
func (*ResourceRpcServer) DeleteFileUpload ¶
func (s *ResourceRpcServer) DeleteFileUpload(ctx context.Context, in *resourcerpc.IdsReq) (*resourcerpc.BatchResp, error)
删除文件上传
func (*ResourceRpcServer) FindFileFolderList ¶
func (s *ResourceRpcServer) FindFileFolderList(ctx context.Context, in *resourcerpc.FindFileFolderListReq) (*resourcerpc.FindFileFolderListResp, error)
查询文件夹列表
func (*ResourceRpcServer) FindFileUploadList ¶
func (s *ResourceRpcServer) FindFileUploadList(ctx context.Context, in *resourcerpc.FindFileUploadListReq) (*resourcerpc.FindFileUploadListResp, error)
查询文件上传列表
func (*ResourceRpcServer) UpdateFileFolder ¶
func (s *ResourceRpcServer) UpdateFileFolder(ctx context.Context, in *resourcerpc.FileFolderNewReq) (*resourcerpc.FileFolderDetails, error)
更新文件夹
func (*ResourceRpcServer) UpdateFileUpload ¶
func (s *ResourceRpcServer) UpdateFileUpload(ctx context.Context, in *resourcerpc.FileUploadNewReq) (*resourcerpc.FileUploadDetails, error)
更新文件上传
Click to show internal directories.
Click to hide internal directories.