Documentation
¶
Index ¶
- func Coldstore(lc fx.Lifecycle, conf *appconfig.Config) (*coldstore.Reader, error)
- func Datadog(conf *appconfig.Config, lc fx.Lifecycle)
- func GeoIPDatabase(conf *appconfig.Config) (*geoip2.Reader, error)
- func Module() fx.Option
- func NATS(lc fx.Lifecycle, conf *appconfig.Config) (*nats.Conn, nats.JetStreamContext, error)
- func NATSOptions() []nats.Option
- func Postgres(conf *appconfig.Config) (*bun.DB, error)
- func RedSync(client *goredislib.Client) *redsync.Redsync
- func Redis(conf *appconfig.Config) (*redis.Client, error)
- func SentryInit(conf *appconfig.Config) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Coldstore ¶
Coldstore opens the local cold storage when it is enabled, and fails the startup when its files are not all there (see coldstore.OpenReader). It returns nil when the cold storage is disabled: users must check.
func NATSOptions ¶
NATSOptions are the options of the NATS connection of the app.
func SentryInit ¶
SentryInit initializes sentry with side effect
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.