MCPcopy Create free account
hub / github.com/PasarGuard/node / inboundFlow

Function inboundFlow

backend/xray/user.go:44–50  ·  view source on GitHub ↗
(inbound *Inbound)

Source from the content-addressed store, hash-verified

42}
43
44func inboundFlow(inbound *Inbound) string {
45 if inbound == nil || inbound.Settings == nil {
46 return ""
47 }
48 flow, _ := inbound.Settings["flow"].(string)
49 return flow
50}
51
52func accountForAPI(inbound *Inbound, account api.Account) api.Account {
53 vlessAccount, ok := account.(*api.VlessAccount)

Callers 1

accountForAPIFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected