app

package
v0.0.0-...-b0e2d2c Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLogger

func GetLogger() *slog.Logger

Types

type ApplicationConfiguration

type ApplicationConfiguration struct {
	Database struct {
		DSN      string `yaml:"dsn"`
		Attempts int    `yaml:"attempts"`
		Migrate  bool   `yaml:"migrate"`
	} `yaml:"database"`
	MessageQueue struct {
		URL         string `yaml:"url"`
		ManualAck   bool   `yaml:"manualAck"`
		ThreadCount int    `yaml:"threadCount"`
	} `yaml:"messagequeue"`
}

func GetApplicationConfiguration

func GetApplicationConfiguration() *ApplicationConfiguration

Jump to

Keyboard shortcuts

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