Documentation ¶ Index ¶ type Service func NewFileService(fileBiz *biz.FileBiz) *Service func (s *Service) DownloadFile(ctx http.Context) error func (s *Service) UploadFile(ctx http.Context) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Service ¶ type Service struct { fileapi.UnimplementedFileManageServer // contains filtered or unexported fields } Service file操作相关服务 func NewFileService ¶ func NewFileService(fileBiz *biz.FileBiz) *Service func (*Service) DownloadFile ¶ func (s *Service) DownloadFile(ctx http.Context) error func (*Service) UploadFile ¶ func (s *Service) UploadFile(ctx http.Context) error Source Files ¶ View all Source files file.go Click to show internal directories. Click to hide internal directories.