Documentation ¶
Index ¶
- func GetBlurHash(src []byte) (blurHash string, err error)
- func GetImageDimensions(typ types.ImageType, src io.Reader) (height, width int, err error)
- func GetPaginationParams(ctx fiber.Ctx) (offset int, count int, err error)
- func GetShardIndex(shardKey string, shards int) (int, error)
- func GetTimestampedPath(photoID string) string
- func PostgresMigrate(db *sql.DB) error
- func ReturnFiberResponse(ctx fiber.Ctx, res dto.Photos)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBlurHash ¶ added in v0.2.1
func GetImageDimensions ¶ added in v0.2.1
func GetPaginationParams ¶ added in v0.2.2
func GetTimestampedPath ¶ added in v0.2.1
func PostgresMigrate ¶
func ReturnFiberResponse ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.