mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 21:50:26 +08:00 
			
		
		
		
	优化OSS相关代码
This commit is contained in:
		@@ -3,6 +3,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
package ossconfigs
 | 
					package ossconfigs
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import "errors"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
type OSSType = string
 | 
					type OSSType = string
 | 
				
			||||||
 | 
					
 | 
				
			||||||
type OSSTypeDefinition struct {
 | 
					type OSSTypeDefinition struct {
 | 
				
			||||||
@@ -26,5 +28,5 @@ func FindOSSType(code string) *OSSTypeDefinition {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func DecodeOSSOptions(ossType OSSType, optionsJSON []byte) (any, error) {
 | 
					func DecodeOSSOptions(ossType OSSType, optionsJSON []byte) (any, error) {
 | 
				
			||||||
	return nil, nil
 | 
						return nil, errors.New("'" + ossType + "' has not been supported")
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user