configuration

package
v0.0.0-...-785438b Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(fx.Provide(newConfig))

Functions

This section is empty.

Types

type Config

type Config struct {
	Server struct {
		Mode       string `validate:"required"`
		Port       string `validate:"required"`
		UseSwagger bool
	}
	Database struct {
		ConnectionString string `validate:"required"`
	}
}

Jump to

Keyboard shortcuts

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