feat: sync certificates to remote server #293, #363, #411

This commit is contained in:
Jacky 2024-06-18 17:39:05 +08:00
parent 11e460765a
commit b3486a42a5
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
41 changed files with 2429 additions and 1649 deletions

View file

@ -16,6 +16,7 @@ func InitCertificateRouter(r *gin.RouterGroup) {
r.POST("cert", AddCert)
r.POST("cert/:id", ModifyCert)
r.DELETE("cert/:id", RemoveCert)
r.PUT("cert_sync", SyncCertificate)
r.GET("certificate/dns_providers", GetDNSProvidersList)
r.GET("certificate/dns_provider/:code", GetDNSProvider)
}