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 { fileV1.UnimplementedFileServiceServer // 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) (*fileV1.OssStsTokenResponse, error)
func (*FileService) UploadFile ¶
func (s *FileService) UploadFile(ctx context.Context, req *fileV1.UploadFileRequest) (*fileV1.UploadFileResponse, error)
Click to show internal directories.
Click to hide internal directories.