config

package
v0.0.0-...-a1eeba1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Port     int
	Database DatabaseConfig
	RabbitMQ RabbitMQConfig
	Services ServiceConfig
}

func LoadConfig

func LoadConfig() (*Config, error)

type DatabaseConfig

type DatabaseConfig struct {
	Driver   string
	Host     string
	Port     int
	Username string
	Password string
	DBName   string
}

type RabbitMQConfig

type RabbitMQConfig struct {
	URL string
}

type ServiceConfig

type ServiceConfig struct {
	UserServiceAddr  string
	BoardServiceAddr string
	ListServiceAddr  string
	CardServiceAddr  string
}

Jump to

Keyboard shortcuts

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