infra

package
v1.0.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2025 License: MIT Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPostgresClient

func NewPostgresClient(config *PostgresClientConfig) *gorm.DB

func NewRedisClient

func NewRedisClient(config *RedisClientConfig) *redis.Client

Types

type PostgresClientConfig

type PostgresClientConfig struct {
	Cfg        config.Config
	Telemetry  telemetry.Telemetry
	Migrations []*gormigrate.Migration
}

type RedisClientConfig

type RedisClientConfig struct {
	Cfg       config.Config
	Telemetry telemetry.Telemetry
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL