Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(conf *resources.AppConfig, dbObj map[string]interfaces.IDatabase, redisdb map[string]interfaces.IRedis) *http.Server
Run for running service (initializes both GRPC and HTTP server)
func ServiceInject ¶
func ServiceInject( config *resources.AppConfig, dbObj map[string]interfaces.IDatabase, redisdb map[string]interfaces.IRedis, ) *controllers.KvotheController
ServiceInject is for injecting dependencies into each layer of service (from top to bottom : controller -> service -> repository)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.