mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-05-14 00:51:12 +03:00
21 lines
363 B
Go
21 lines
363 B
Go
package constant
|
|
|
|
const (
|
|
ProviderTypeInline = "inline"
|
|
ProviderTypeLocal = "local"
|
|
ProviderTypeRemote = "remote"
|
|
)
|
|
|
|
func ProviderDisplayName(providerType string) string {
|
|
switch providerType {
|
|
case ProviderTypeInline:
|
|
return "Inline"
|
|
case ProviderTypeLocal:
|
|
return "Local"
|
|
case ProviderTypeRemote:
|
|
return "Remote"
|
|
default:
|
|
return "Unknown"
|
|
}
|
|
}
|