This repository has been archived on 2026-03-18. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
scabiosa/SQL/RemoteStorage.go
2022-01-31 20:10:37 +01:00

24 lines
368 B
Go

package SQL
import "fmt"
type RemoteStorageType int64
const (
REMOTE_AZURE_FILE = 1
REMOTE_AZURE_BLOB = 2
REMOTE_NONE = 3
)
func (e RemoteStorageType) String() string {
switch e {
case REMOTE_AZURE_FILE:
return "AZURE-FILE"
case REMOTE_AZURE_BLOB:
return "AZURE-BLOB"
case REMOTE_NONE:
return "NONE"
default:
return fmt.Sprintf("%d", e)
}
}