mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-01-04 10:06:36 +08:00
[SSL证书]实现对ACME任务的增删改查
This commit is contained in:
15
internal/web/actions/default/servers/certs/acme/run.go
Normal file
15
internal/web/actions/default/servers/certs/acme/run.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package acme
|
||||
|
||||
import (
|
||||
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
|
||||
"time"
|
||||
)
|
||||
|
||||
type RunAction struct {
|
||||
actionutils.ParentAction
|
||||
}
|
||||
|
||||
func (this *RunAction) RunPost(params struct{}) {
|
||||
time.Sleep(5 * time.Second) // TODO
|
||||
this.Success()
|
||||
}
|
||||
Reference in New Issue
Block a user