app

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(c *conf.Config, hs *http.Server, gs *grpc.Server)

Types

type Directory

type Directory struct {
	pb.UnimplementedDirectoryServer
	// contains filtered or unexported fields
}

func NewDirectory

func NewDirectory(conf *conf.Config) *Directory

func (*Directory) CreateDirectory

CreateDirectory 创建文件目录信息

func (*Directory) DeleteDirectory

DeleteDirectory 删除文件目录信息

func (*Directory) GetDirectory

GetDirectory 获取指定的文件目录信息

func (*Directory) ListDirectory

ListDirectory 获取文件目录信息列表

func (*Directory) UpdateDirectory

UpdateDirectory 更新文件目录信息

type Export

type Export struct {
	pb.UnimplementedExportServer
	// contains filtered or unexported fields
}

func NewExport

func NewExport(conf *conf.Config) *Export

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 NewFile

func NewFile(conf *conf.Config) *File

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 上传文件信息

Jump to

Keyboard shortcuts

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