Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(NewRequestHandler), fx.Provide(GetLogger), fx.Provide(GetLogger), )
Module exports dependency
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
Driver neo4j.DriverWithContext
}
type Env ¶
type Env struct { ServerPort string `mapstructure:"SERVER_PORT"` Environment string `mapstructure:"ENV"` LogOutput string `mapstructure:"LOG_OUTPUT"` DBUsername string `mapstructure:"DB_USER"` DBPassword string `mapstructure:"DB_PASS"` DBHost string `mapstructure:"DB_HOST"` DBPort string `mapstructure:"DB_PORT"` DBName string `mapstructure:"DB_NAME"` JWTSecret string `mapstructure:"JWT_SECRET"` }
Env has environment stored
type RequestHandler ¶
func NewRequestHandler ¶
func NewRequestHandler(logger Logger) RequestHandler
Click to show internal directories.
Click to hide internal directories.