RegisterPhoneRoutes registers routes for the /phone prefix
()
| 1687 | |
| 1688 | // RegisterPhoneRoutes registers routes for the /phone prefix |
| 1689 | func (container *Container) RegisterPhoneRoutes() { |
| 1690 | container.logger.Debug(fmt.Sprintf("registering %T routes", &handlers.PhoneHandler{})) |
| 1691 | container.PhoneHandler().RegisterRoutes(container.App(), container.AuthenticatedMiddleware()) |
| 1692 | container.PhoneHandler().RegisterPhoneAPIKeyRoutes(container.App(), container.PhoneAPIKeyMiddleware(), container.AuthenticatedMiddleware()) |
| 1693 | } |
| 1694 | |
| 1695 | // RegisterUserRoutes registers routes for the /users prefix |
| 1696 | func (container *Container) RegisterUserRoutes() { |
no test coverage detected