22 lines
557 B
Go
22 lines
557 B
Go
package clusters
|
|
|
|
import (
|
|
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
|
|
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/default/httpdns/httpdnsutils"
|
|
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/default/httpdns/policies"
|
|
)
|
|
|
|
type CertsAction struct {
|
|
actionutils.ParentAction
|
|
}
|
|
|
|
func (this *CertsAction) Init() {
|
|
this.Nav("httpdns", "cluster", "certs")
|
|
}
|
|
|
|
func (this *CertsAction) RunGet(params struct{}) {
|
|
httpdnsutils.AddLeftMenu(this.Parent())
|
|
this.Data["certs"] = policies.LoadPublicSNICertificates()
|
|
this.Show()
|
|
}
|