Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFileStoreApiService ¶
func NewFileStoreApiService(conf *FileStoreApiConfig) *fileStoreApiService
Types ¶
type FileStoreApiConfig ¶
type FileStoreApiService ¶
type FileStoreApiService interface { GetFile(tenantName, fileId string, span opentracing.Span) (*FileDTO, *[]byte, error) GetFileMetadata(tenantName, fileId string, span opentracing.Span) (*FileDTO, error) GetFileBytes(tenantName, fileId string, span opentracing.Span) (*[]byte, error) UploadSingleMultipartFile(tenantName, basePath string, multipartFileHeader *multipart.FileHeader, span opentracing.Span) (*FileDTO, error) UploadSingleFileBytes(tenantName, basePath, fileId, fileName string, fileBytes []byte, span opentracing.Span) (*FileDTO, error) }
Click to show internal directories.
Click to hide internal directories.