✨ optimized image list interface
This commit is contained in:
7
common/constant/bucket_name.go
Normal file
7
common/constant/bucket_name.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package constant
|
||||
|
||||
const (
|
||||
FaceBucketName = "schisandra-face-samples"
|
||||
CommentImagesBucketName = "schisandra-comment-images"
|
||||
ThumbnailBucketName = "schisandra-thumbnail-images"
|
||||
)
|
6
common/constant/mq_topic.go
Normal file
6
common/constant/mq_topic.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package constant
|
||||
|
||||
const (
|
||||
MQTopicImageProcess = "image-process-topic"
|
||||
MQTopicCommentLike = "comment-like-topic"
|
||||
)
|
@@ -1,6 +0,0 @@
|
||||
package constant
|
||||
|
||||
const (
|
||||
FaceBucketName = "faces"
|
||||
CommentImagesBucketName = "comments"
|
||||
)
|
@@ -22,7 +22,7 @@ const (
|
||||
|
||||
const (
|
||||
ImageListPrefix = "image:list:"
|
||||
ImageListMetaPrefix = "image:meta:"
|
||||
ImageRecentPrefix = "image:recent:"
|
||||
ImageFaceListPrefix = "image:face:list:"
|
||||
ImageFaceListPrefix = "image:faces:"
|
||||
ImageSinglePrefix = "image:single:"
|
||||
)
|
||||
|
Reference in New Issue
Block a user