Documentation ¶
Index ¶
- func ProviderConfig(configPath string) (config.Config, error)
- func ProviderDataBaseConfigWithParams(conf config.Config, params DsnParams) database.Config
- func ProviderDatabaseConfig(conf config.Config) database.Config
- func ProviderDatabaseConnection(conf database.Config) (database.ConnectionResult, error)
- func ProviderDatabaseTx(conn *gorm.DB) (*sql.DB, error)
- func ProviderHtmlRender(conf config.Config) fiber.Views
- func ProviderRouter(server web.Server) fiber.Router
- func ProviderServerConfig(conf config.Config) web.ServerConfig
- type DsnParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProviderDatabaseConnection ¶
func ProviderDatabaseConnection(conf database.Config) (database.ConnectionResult, error)
func ProviderHtmlRender ¶
func ProviderRouter ¶
func ProviderServerConfig ¶
func ProviderServerConfig(conf config.Config) web.ServerConfig
Types ¶
Click to show internal directories.
Click to hide internal directories.