update naming of functions, add option to get count of unread messages of user
This commit is contained in:
@@ -87,7 +87,7 @@ func Init(ctx context.Context) {
|
||||
func Upload(ctx context.Context, key string, body io.Reader, size int64, contentType string, metadata map[string]string) error {
|
||||
opt := minio.PutObjectOptions{
|
||||
ContentType: contentType,
|
||||
PartSize: globals.FileProcessingPartSize,
|
||||
PartSize: globals.FileProcessingPartBytes,
|
||||
NumThreads: globals.FileProcessingThreads,
|
||||
UserMetadata: metadata,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user