Documentation
¶
Index ¶
- Variables
- func CacheConstructor(cfg *config.Config) (types.CacheInterface, error)
- func ConfigConstructor(filepath string) (*config.Config, error)
- func DatabaseConstructor(cfg *config.Config) (types.DatabaseInterface, error)
- func LoggerConstructor(cfg *config.Config) (types.LoggerInterface, error)
- func RouterConstructor(cfg *config.Config) (types.RouterInterface, error)
- type App
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CacheConstructor ¶
func CacheConstructor(cfg *config.Config) (types.CacheInterface, error)
func DatabaseConstructor ¶
func DatabaseConstructor(cfg *config.Config) (types.DatabaseInterface, error)
func LoggerConstructor ¶
func LoggerConstructor(cfg *config.Config) (types.LoggerInterface, error)
func RouterConstructor ¶
func RouterConstructor(cfg *config.Config) (types.RouterInterface, error)
Types ¶
type App ¶
type App struct { Config *config.Config Router types.RouterInterface Database types.DatabaseInterface Cache types.CacheInterface Logger types.LoggerInterface }
Click to show internal directories.
Click to hide internal directories.