Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AppSet = wire.NewSet( NewApp, configs.ConfigsSet, router.RouterSet, )
View Source
var ServerSet = wire.NewSet(AppSet)
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { App *fiber.App AppConfig *configs.AppConfig Mongo *mongo2.MongoConnection MongoConfig *configs.MongoConfig Redis *redis.RedisConnection RedisConfig *configs.RedisConfig }
Server represents the main server configuration.
func NewApp ¶
func NewApp( ac *configs.AppConfig, eh *eh.ErrorsHandler, prr *router.PrivateRouter, pbr *router.PublicRouter, sr *router.SwaggerRouter, mc *configs.MongoConfig, mongo *mongo2.MongoConnection, rc *configs.RedisConfig, redis *redis.RedisConnection, ) *Server
Click to show internal directories.
Click to hide internal directories.