RegisterHeartbeatRoutes registers routes for the /heartbeats prefix
()
| 1668 | |
| 1669 | // RegisterHeartbeatRoutes registers routes for the /heartbeats prefix |
| 1670 | func (container *Container) RegisterHeartbeatRoutes() { |
| 1671 | container.logger.Debug(fmt.Sprintf("registering %T routes", &handlers.HeartbeatHandler{})) |
| 1672 | container.HeartbeatHandler().RegisterRoutes(container.App(), container.AuthenticatedMiddleware()) |
| 1673 | container.HeartbeatHandler().RegisterPhoneAPIKeyRoutes(container.App(), container.PhoneAPIKeyMiddleware(), container.AuthenticatedMiddleware()) |
| 1674 | } |
| 1675 | |
| 1676 | // RegisterBillingRoutes registers routes for the /billing prefix |
| 1677 | func (container *Container) RegisterBillingRoutes() { |
no test coverage detected