Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependencies ¶
type Dependencies struct { SvcId string Cfg *config.Config Db *sqlx.DB Log *logger.Logger TokenAuth *jwtauth.JWTAuth Enforcer *enforcer.Enforcer }
Dependencies hold the primitives and structs and/or interfaces that are required for the application's business logic.
func BuildDependencies ¶
func BuildDependencies(cfg *config.Config, log *logger.Logger) *Dependencies
BuildDependencies builds dependencies
Click to show internal directories.
Click to hide internal directories.