infra

package
v0.0.0-...-570c91f Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Datadog

func Datadog(conf *appconfig.Config, lc fx.Lifecycle)

func GeoIPDatabase

func GeoIPDatabase(conf *appconfig.Config) (*geoip2.Reader, error)

func Module

func Module() fx.Option

func NATS

func NATS(conf *appconfig.Config) (*nats.Conn, nats.JetStreamContext, error)

func Postgres

func Postgres(conf *appconfig.Config) (*bun.DB, error)

func RedSync

func RedSync(client *goredislib.Client) *redsync.Redsync

func Redis

func Redis(conf *appconfig.Config) (*redis.Client, error)

func SentryInit

func SentryInit(conf *appconfig.Config) error

SentryInit initializes sentry with side effect

Types

This section is empty.

Jump to

Keyboard shortcuts

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