Files
houston-be/pkg/documentService/document_service_interface.go
Sriram Bhargav 0c85c3b68d TP-47105 | Adding document service (#280)
* TP-47105 | Adding helpers for google drive service

* TP-47105! | Adding document service

* TP-47105 | Adding unit tests for docu ent service client

* TP-47105 | Adding document service client

* TP-47105 | Rebasing with master

* TP-47105 | Addressing PR comments

* TP-47105 | Adding commonly used constants with document service

* TP-47105 | Adding commonly used constants with document service

* TP-47105 | Fixing document service endpoints in test

* TP-47105 | Addressing PR comments

* TP-47105 | Addressing PR comments

* TP-47105 | Addressing PR comments
2023-11-15 17:17:38 +05:30

15 lines
452 B
Go

package documentService
import (
"houston/model"
"io"
)
type ServiceActions interface {
GeneratePreSignedURL(fileType string, flowId string) (*model.FileUploadURLGeneratorResponse, error)
UploadFileWithPreSignedURL(fileUploadResponse *model.FileUploadURLGeneratorResponse,
fileName string, file io.Reader, contentType string)
FileDownloadPreSignedURL(fileDownloadPreSignedURLRequest model.
FileDownloadPreSignedURLRequest) (string, error)
}