Documentation ¶
Index ¶
- func ApplyMigrations(ctx context.Context, conn *bun.DB, cleanup bool, logger *zap.SugaredLogger) error
- func NewMinioConn(ctx context.Context, endpoint, accessKeyID, secretAccessKey string, ...) (*minio.Client, error)
- func NewPostgresConn(ctx context.Context, dsn string, enableQueryDebug bool, ...) (*bun.DB, error)
- func NewRedisConn(ctx context.Context, addr, pwd string, logger *zap.SugaredLogger) (*redis.Client, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyMigrations ¶
func NewMinioConn ¶
func NewPostgresConn ¶
func NewRedisConn ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.