config

package
v0.0.0-...-13e9ea1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: MIT Imports: 3 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 {
	Logger   LoggerConfig
	Database DatabaseConfig
}

func NewConfig

func NewConfig() Config

type DatabaseConfig

type DatabaseConfig struct {
	Driver   string
	Password string
	User     string
	Port     string
	Database string
}

func DatabaseConfigInit

func DatabaseConfigInit() DatabaseConfig

type LoggerConfig

type LoggerConfig struct {
	Config zap.Config
}

func LoggerConfigInit

func LoggerConfigInit() LoggerConfig

Jump to

Keyboard shortcuts

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