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

Method Message

backend/xray/api/account.go:64–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62}
63
64func (va *VlessAccount) Message() (*serial.TypedMessage, error) {
65 return ToTypedMessage(&vless.Account{Id: va.ID.String(), Flow: va.Flow, Reverse: nil})
66}
67
68func NewVlessAccount(user *common.User) (*VlessAccount, error) {
69 id, err := uuid.Parse(user.GetProxies().GetVless().GetId())

Callers

nothing calls this directly

Calls 2

ToTypedMessageFunction · 0.85
StringMethod · 0.45

Tested by

no test coverage detected