Documentation
¶
Index ¶
- func DeclareAuthUserRoutes(router *gin.RouterGroup, authUserUC happydns.AuthUserUsecase, ...) *controller.AuthUserController
- func DeclareAuthenticationCheckRoutes(apiAuthRoutes *gin.RouterGroup, lc *controller.LoginController)
- func DeclareAuthenticationRoutes(cfg *happydns.Options, baserouter, apirouter *gin.RouterGroup, ...) *controller.LoginController
- func DeclareDomainLogRoutes(router *gin.RouterGroup, domainLogUC happydns.DomainLogUsecase)
- func DeclareDomainRoutes(router *gin.RouterGroup, domainUC happydns.DomainUsecase, ...)
- func DeclareProviderRoutes(router *gin.RouterGroup, providerUC happydns.ProviderUsecase)
- func DeclareProviderSettingsRoutes(router *gin.RouterGroup, providerSettingsUC happydns.ProviderSettingsUsecase)
- func DeclareProviderSpecsRoutes(router *gin.RouterGroup, providerSpecsUC happydns.ProviderSpecsUsecase)
- func DeclareRecordRoutes(apiRoutes *gin.RouterGroup)
- func DeclareRegistrationRoutes(router *gin.RouterGroup, authUserUC happydns.AuthUserUsecase, ...) *controller.RegistrationController
- func DeclareResolverRoutes(router *gin.RouterGroup, resolverUC happydns.ResolverUsecase)
- func DeclareRoutes(cfg *happydns.Options, router *gin.RouterGroup, dep Dependencies)
- func DeclareServiceSpecsRoutes(router *gin.RouterGroup, serviceSpecsUC happydns.ServiceSpecsUsecase)
- func DeclareSessionRoutes(router *gin.RouterGroup, sessionUC happydns.SessionUsecase)
- func DeclareUserRecoveryRoutes(router *gin.RouterGroup, authUserUC happydns.AuthUserUsecase, ...) *controller.UserRecoveryController
- func DeclareUsersRoutes(router *gin.RouterGroup, userUC happydns.UserUsecase, ...) *controller.UserController
- func DeclareVersionRoutes(router *gin.RouterGroup)
- func DeclareZoneRoutes(router *gin.RouterGroup, zoneUC happydns.ZoneUsecase, ...)
- func DeclareZoneServiceRoutes(apiZonesRoutes, apiZonesSubdomainRoutes *gin.RouterGroup, ...)
- type Dependencies
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeclareAuthUserRoutes ¶
func DeclareAuthUserRoutes(router *gin.RouterGroup, authUserUC happydns.AuthUserUsecase, lc *controller.LoginController) *controller.AuthUserController
func DeclareAuthenticationCheckRoutes ¶
func DeclareAuthenticationCheckRoutes(apiAuthRoutes *gin.RouterGroup, lc *controller.LoginController)
func DeclareAuthenticationRoutes ¶
func DeclareAuthenticationRoutes( cfg *happydns.Options, baserouter, apirouter *gin.RouterGroup, authUC happydns.AuthenticationUsecase, captchaVerifier happydns.CaptchaVerifier, failureTracker happydns.FailureTracker, ) *controller.LoginController
func DeclareDomainLogRoutes ¶
func DeclareDomainLogRoutes(router *gin.RouterGroup, domainLogUC happydns.DomainLogUsecase)
func DeclareDomainRoutes ¶
func DeclareDomainRoutes( router *gin.RouterGroup, domainUC happydns.DomainUsecase, domainLogUC happydns.DomainLogUsecase, remoteZoneImporter happydns.RemoteZoneImporterUsecase, zoneImporter happydns.ZoneImporterUsecase, zoneUC happydns.ZoneUsecase, zoneCorrApplier happydns.ZoneCorrectionApplierUsecase, zoneServiceUC happydns.ZoneServiceUsecase, serviceUC happydns.ServiceUsecase, )
func DeclareProviderRoutes ¶
func DeclareProviderRoutes(router *gin.RouterGroup, providerUC happydns.ProviderUsecase)
func DeclareProviderSettingsRoutes ¶
func DeclareProviderSettingsRoutes(router *gin.RouterGroup, providerSettingsUC happydns.ProviderSettingsUsecase)
func DeclareProviderSpecsRoutes ¶
func DeclareProviderSpecsRoutes(router *gin.RouterGroup, providerSpecsUC happydns.ProviderSpecsUsecase)
func DeclareRecordRoutes ¶ added in v0.5.0
func DeclareRecordRoutes(apiRoutes *gin.RouterGroup)
func DeclareRegistrationRoutes ¶
func DeclareRegistrationRoutes(router *gin.RouterGroup, authUserUC happydns.AuthUserUsecase, captchaVerifier happydns.CaptchaVerifier) *controller.RegistrationController
func DeclareResolverRoutes ¶
func DeclareResolverRoutes(router *gin.RouterGroup, resolverUC happydns.ResolverUsecase)
func DeclareRoutes ¶
func DeclareRoutes(cfg *happydns.Options, router *gin.RouterGroup, dep Dependencies)
func DeclareServiceSpecsRoutes ¶
func DeclareServiceSpecsRoutes(router *gin.RouterGroup, serviceSpecsUC happydns.ServiceSpecsUsecase)
func DeclareSessionRoutes ¶
func DeclareSessionRoutes(router *gin.RouterGroup, sessionUC happydns.SessionUsecase)
func DeclareUserRecoveryRoutes ¶
func DeclareUserRecoveryRoutes(router *gin.RouterGroup, authUserUC happydns.AuthUserUsecase, auc *controller.AuthUserController) *controller.UserRecoveryController
func DeclareUsersRoutes ¶
func DeclareUsersRoutes(router *gin.RouterGroup, userUC happydns.UserUsecase, lc *controller.LoginController) *controller.UserController
func DeclareVersionRoutes ¶
func DeclareVersionRoutes(router *gin.RouterGroup)
func DeclareZoneRoutes ¶
func DeclareZoneRoutes( router *gin.RouterGroup, zoneUC happydns.ZoneUsecase, domainUC happydns.DomainUsecase, zoneCorrApplier happydns.ZoneCorrectionApplierUsecase, zoneServiceUC happydns.ZoneServiceUsecase, serviceUC happydns.ServiceUsecase, )
func DeclareZoneServiceRoutes ¶
func DeclareZoneServiceRoutes( apiZonesRoutes, apiZonesSubdomainRoutes *gin.RouterGroup, zc *controller.ZoneController, zoneServiceUC happydns.ZoneServiceUsecase, serviceUC happydns.ServiceUsecase, zoneUC happydns.ZoneUsecase, )
Types ¶
type Dependencies ¶ added in v0.6.0
type Dependencies struct {
Authentication happydns.AuthenticationUsecase
AuthUser happydns.AuthUserUsecase
CaptchaVerifier happydns.CaptchaVerifier
Domain happydns.DomainUsecase
DomainLog happydns.DomainLogUsecase
FailureTracker happydns.FailureTracker
Provider happydns.ProviderUsecase
ProviderSettings happydns.ProviderSettingsUsecase
ProviderSpecs happydns.ProviderSpecsUsecase
RemoteZoneImporter happydns.RemoteZoneImporterUsecase
Resolver happydns.ResolverUsecase
Service happydns.ServiceUsecase
ServiceSpecs happydns.ServiceSpecsUsecase
Session happydns.SessionUsecase
User happydns.UserUsecase
Zone happydns.ZoneUsecase
ZoneCorrectionApplier happydns.ZoneCorrectionApplierUsecase
ZoneImporter happydns.ZoneImporterUsecase
ZoneService happydns.ZoneServiceUsecase
}
Dependencies holds all use cases required to register the public API routes. It is a plain struct — no methods, no interface — constructed once in app.go.
Source Files
¶
- auth_user.go
- authentication.go
- domain.go
- domain_log.go
- provider.go
- provider_settings.go
- provider_specs.go
- record.go
- resolver.go
- route.go
- service.go
- service_specs.go
- session.go
- swagger-noswagger.go
- user.go
- user_recovery.go
- user_registration.go
- version.go
- zone.go
Click to show internal directories.
Click to hide internal directories.