Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
Logger zerolog.Logger
Storage storage.Storager
Server server.Serverer
Config config.Config
}
App is an application container with necessary dependencies
func NewApplication ¶
NewApplication returns pointer to App structure with filled data
func (*App) InitStorage ¶
InitStorage sets database to App structure
Click to show internal directories.
Click to hide internal directories.