initialize

package
v0.0.0-...-7af7f6b Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectDB

func ConnectDB(databaseURL string) *sqlx.DB

ConnectDBWithRetry establishes a connection to the database with retry logic

func ConnectGCS

func ConnectGCS(cfg *config.Config) (*storage.Client, error)

func NewKafkaProducer

func NewKafkaProducer(brokers []string, clientID string) (*kgo.Client, error)

func SetupRouter

func SetupRouter(handler transport.Handler) *gin.Engine

SetupRouter initializes the router and sets up the routes for the application.

Types

This section is empty.

Jump to

Keyboard shortcuts

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