Documentation ¶
Index ¶
- Variables
- func Close()
- func Init(cfg *config.Config, db *gorm.DB) error
- func UseHealthService(h health.ServiceInterface)
- func UseOauthService(o oauth.ServiceInterface)
- func UseSessionService(s session.ServiceInterface)
- func UseUserService(u user.ServiceInterface)
- func UseWebService(w web.ServiceInterface)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // HealthService ... HealthService health.ServiceInterface // OauthService ... OauthService oauth.ServiceInterface // UserService ... UserService user.ServiceInterface // WebService ... WebService web.ServiceInterface // SessionService ... SessionService session.ServiceInterface )
Functions ¶
func UseHealthService ¶
func UseHealthService(h health.ServiceInterface)
UseHealthService sets the health service
func UseOauthService ¶
func UseOauthService(o oauth.ServiceInterface)
UseOauthService sets the oAuth service
func UseSessionService ¶
func UseSessionService(s session.ServiceInterface)
UseSessionService sets the session service
func UseUserService ¶
func UseUserService(u user.ServiceInterface)
UseUserService sets the user service
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.