config

package
v0.0.0-...-0c3f4cd Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Print

func Print(lifecycle fx.Lifecycle, c *Config)

Types

type Config

type Config struct {
	Name           string
	Port           string
	DatabaseConfig DatabaseConfig
}

func New

func New() *Config

type DatabaseConfig

type DatabaseConfig struct {
	Username string
	Password string
	Host     string
	Database string
	SSLMode  string
}

func GetDatabaseConfig

func GetDatabaseConfig(config *Config) *DatabaseConfig

Jump to

Keyboard shortcuts

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