Documentation ¶
Index ¶
- func New(c *conf.Config, hs *http.Server, gs *grpc.Server)
- type Directory
- func (s *Directory) CreateDirectory(c context.Context, req *pb.CreateDirectoryRequest) (*pb.CreateDirectoryReply, error)
- func (s *Directory) DeleteDirectory(c context.Context, req *pb.DeleteDirectoryRequest) (*pb.DeleteDirectoryReply, error)
- func (s *Directory) GetDirectory(c context.Context, req *pb.GetDirectoryRequest) (*pb.GetDirectoryReply, error)
- func (s *Directory) ListDirectory(c context.Context, req *pb.ListDirectoryRequest) (*pb.ListDirectoryReply, error)
- func (s *Directory) UpdateDirectory(c context.Context, req *pb.UpdateDirectoryRequest) (*pb.UpdateDirectoryReply, error)
- type Export
- func (s *Export) DeleteExport(c context.Context, req *pb.DeleteExportRequest) (*pb.DeleteExportReply, error)
- func (s *Export) ExportExcel(c context.Context, req *pb.ExportExcelRequest) (*pb.ExportExcelReply, error)
- func (s *Export) ExportFile(c context.Context, req *pb.ExportFileRequest) (*pb.ExportFileReply, error)
- func (s *Export) GetExport(c context.Context, req *pb.GetExportRequest) (*pb.GetExportReply, error)
- func (s *Export) ListExport(c context.Context, req *pb.ListExportRequest) (*pb.ListExportReply, error)
- type File
- func (s *File) DeleteFile(c context.Context, req *pb.DeleteFileRequest) (*pb.DeleteFileReply, error)
- func (s *File) GetFile(c context.Context, req *pb.GetFileRequest) (*pb.GetFileReply, error)
- func (s *File) ListFile(c context.Context, req *pb.ListFileRequest) (*pb.ListFileReply, error)
- func (s *File) PrepareUploadFile(c context.Context, req *pb.PrepareUploadFileRequest) (*pb.PrepareUploadFileReply, error)
- func (s *File) UpdateFile(c context.Context, req *pb.UpdateFileRequest) (*pb.UpdateFileReply, error)
- func (s *File) Upload() http.HandlerFunc
- func (s *File) UploadFile(c context.Context, req *pb.UploadFileRequest) (*pb.UploadFileReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Directory ¶
type Directory struct { pb.UnimplementedDirectoryServer // contains filtered or unexported fields }
func NewDirectory ¶
func (*Directory) CreateDirectory ¶
func (s *Directory) CreateDirectory(c context.Context, req *pb.CreateDirectoryRequest) (*pb.CreateDirectoryReply, error)
CreateDirectory 创建文件目录信息
func (*Directory) DeleteDirectory ¶
func (s *Directory) DeleteDirectory(c context.Context, req *pb.DeleteDirectoryRequest) (*pb.DeleteDirectoryReply, error)
DeleteDirectory 删除文件目录信息
func (*Directory) GetDirectory ¶
func (s *Directory) GetDirectory(c context.Context, req *pb.GetDirectoryRequest) (*pb.GetDirectoryReply, error)
GetDirectory 获取指定的文件目录信息
func (*Directory) ListDirectory ¶
func (s *Directory) ListDirectory(c context.Context, req *pb.ListDirectoryRequest) (*pb.ListDirectoryReply, error)
ListDirectory 获取文件目录信息列表
func (*Directory) UpdateDirectory ¶
func (s *Directory) UpdateDirectory(c context.Context, req *pb.UpdateDirectoryRequest) (*pb.UpdateDirectoryReply, error)
UpdateDirectory 更新文件目录信息
type Export ¶
type Export struct { pb.UnimplementedExportServer // contains filtered or unexported fields }
func (*Export) DeleteExport ¶
func (s *Export) DeleteExport(c context.Context, req *pb.DeleteExportRequest) (*pb.DeleteExportReply, error)
DeleteExport 删除导出信息
func (*Export) ExportExcel ¶
func (s *Export) ExportExcel(c context.Context, req *pb.ExportExcelRequest) (*pb.ExportExcelReply, error)
ExportExcel 创建导出excel文件
func (*Export) ExportFile ¶
func (s *Export) ExportFile(c context.Context, req *pb.ExportFileRequest) (*pb.ExportFileReply, error)
ExportFile 创建导出文件
func (*Export) GetExport ¶
func (s *Export) GetExport(c context.Context, req *pb.GetExportRequest) (*pb.GetExportReply, error)
GetExport 获取指定的导出信息
func (*Export) ListExport ¶
func (s *Export) ListExport(c context.Context, req *pb.ListExportRequest) (*pb.ListExportReply, error)
ListExport 获取导出信息列表
type File ¶
type File struct { pb.UnimplementedFileServer // contains filtered or unexported fields }
func (*File) DeleteFile ¶
func (s *File) DeleteFile(c context.Context, req *pb.DeleteFileRequest) (*pb.DeleteFileReply, error)
DeleteFile 删除文件信息
func (*File) GetFile ¶
func (s *File) GetFile(c context.Context, req *pb.GetFileRequest) (*pb.GetFileReply, error)
GetFile 获取指定的文件信息
func (*File) ListFile ¶
func (s *File) ListFile(c context.Context, req *pb.ListFileRequest) (*pb.ListFileReply, error)
ListFile 获取文件信息列表
func (*File) PrepareUploadFile ¶
func (s *File) PrepareUploadFile(c context.Context, req *pb.PrepareUploadFileRequest) (*pb.PrepareUploadFileReply, error)
PrepareUploadFile 预上传文件信息
func (*File) UpdateFile ¶
func (s *File) UpdateFile(c context.Context, req *pb.UpdateFileRequest) (*pb.UpdateFileReply, error)
UpdateFile 更新文件信息
func (*File) Upload ¶
func (s *File) Upload() http.HandlerFunc
func (*File) UploadFile ¶
func (s *File) UploadFile(c context.Context, req *pb.UploadFileRequest) (*pb.UploadFileReply, error)
UploadFile 上传文件信息
Click to show internal directories.
Click to hide internal directories.