Documentation ¶
Index ¶
- func NewGoOrmConnection(config config.Database) (*gorm.DB, error)
- func NewMeiliSearchClient(config config.MeiliSearch) (*meilisearch.Client, error)
- func NewMinioConnection(config config.MinioConfig) (*minio.Client, error)
- func NewRedisClient(config config.RedisCacheConfig) (*redis.Client, error)
- func NewRedisSessionStore(config config.RedisCacheConfig) session.ManagerStore
- type RedisStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMeiliSearchClient ¶
func NewMeiliSearchClient(config config.MeiliSearch) (*meilisearch.Client, error)
func NewMinioConnection ¶
func NewMinioConnection(config config.MinioConfig) (*minio.Client, error)
func NewRedisClient ¶
func NewRedisClient(config config.RedisCacheConfig) (*redis.Client, error)
func NewRedisSessionStore ¶
func NewRedisSessionStore(config config.RedisCacheConfig) session.ManagerStore
Types ¶
type RedisStore ¶
type RedisStore struct {
Client *redis.Client
}
func NewRedisStore ¶
func NewRedisStore(config config.RedisCacheConfig) (*RedisStore, error)
Click to show internal directories.
Click to hide internal directories.