config

package
v0.0.0-...-1bd3253 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProvideConfig

func ProvideConfig() interface{}

Types

type Config

type Config struct {
	dig.Out

	OWMConfig *OWMConfig
	Server    *ServerConfig
	DB        *DbConfig
}

type DbConfig

type DbConfig struct {
	Host        string
	Port        string
	User        string
	Password    string
	DBName      string
	AutoMigrate string
}

type OWMConfig

type OWMConfig struct {
	ApiKey string
}

type ServerConfig

type ServerConfig struct {
	Port string
}

Jump to

Keyboard shortcuts

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