added the enum to reach the /minio/secet route

This commit is contained in:
pb 2025-08-05 11:56:27 +02:00
parent cc3091d401
commit 76e9b2562e

View File

@ -30,6 +30,7 @@ const (
LIVE_STORAGE
BILL
MINIO_SVCACC
MINIO_SVCACC_SECRET
)
var NOAPI = ""
@ -75,6 +76,7 @@ var DefaultAPI = [...]string{
DATACENTERAPI,
NOAPI,
MINIO,
MINIO,
}
// Bind the standard data name to the data type
@ -105,6 +107,7 @@ var Str = [...]string{
"live_storage",
"bill",
"service_account",
"secret",
}
func FromInt(i int) string {