MCPcopy Create free account
hub / github.com/0xUnixIO/pulse / supportedProtocol

Function supportedProtocol

internal/serverapi/users.go:672–679  ·  view source on GitHub ↗
(value string)

Source from the content-addressed store, hash-verified

670}
671
672func supportedProtocol(value string) bool {
673 switch value {
674 case "vless", "trojan", "shadowsocks", "anytls", "hy2":
675 return true
676 default:
677 return false
678 }
679}
680
681func validStatus(value string) bool {
682 switch value {

Callers 2

handleInboundsMethod · 0.85
handleInboundRoutesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected