初步实现对象存储源站

This commit is contained in:
GoEdgeLab
2023-06-07 17:26:34 +08:00
parent 0d25dd9de0
commit 2a8e703e70
11 changed files with 357 additions and 171 deletions

View File

@@ -0,0 +1,9 @@
// Copyright 2023 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
package ossconfigs
import "strings"
func IsOSSProtocol(protocol string) bool {
return strings.HasPrefix(protocol, "oss:")
}