Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IRedisRepository ¶
func NewRedisRepository ¶
func NewRedisRepository(redisConn *redis.Client) IRedisRepository
type IRepository ¶
func NewRepository ¶
func NewRepository(dbConn *gorm.DB) IRepository
type IUseCase ¶
func NewUseCase ¶
func NewUseCase(repo IRepository, redis IRedisRepository) IUseCase
type RedisRepository ¶
type RedisRepository struct {
RedisConn *redis.Client // RedisConn is the redis connection.
}
type SQLRepository ¶
Click to show internal directories.
Click to hide internal directories.