Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewFileService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type FileService ¶
type FileService struct { ossV1.UnimplementedOSSServer // contains filtered or unexported fields }
func NewFileService ¶
func NewFileService(fileUsecase *biz.FileUsecase, logger log.Logger) *FileService
func (*FileService) GetOssStsToken ¶
func (s *FileService) GetOssStsToken(ctx context.Context, req *emptypb.Empty) (*ossV1.OssStsTokenResponse, error)
func (*FileService) UploadFile ¶
func (s *FileService) UploadFile(ctx context.Context, req *ossV1.UploadFileRequest) (*ossV1.UploadFileResponse, error)
Click to show internal directories.
Click to hide internal directories.