初步实现对象存储源站

This commit is contained in:
刘祥超
2023-06-07 17:24:56 +08:00
parent 407e8b52a5
commit 0ec1571d37
19 changed files with 587 additions and 255 deletions

View File

@@ -0,0 +1,18 @@
// Copyright 2023 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
//go:build !plus
package servers
import (
"github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs/ossconfigs"
"github.com/iwind/TeaGo/maps"
)
func (this *AddOriginPopupAction) getOSSHook() {
this.Data["ossTypes"] = []maps.Map{}
}
func (this *AddOriginPopupAction) postOSSHook(protocol string) (config *ossconfigs.OSSConfig, goNext bool, err error) {
goNext = true
return
}