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

Method Message

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

Source from the content-addressed store, hash-verified

38}
39
40func (va *VmessAccount) Message() (*serial.TypedMessage, error) {
41 return ToTypedMessage(&vmess.Account{Id: va.ID.String()})
42}
43
44func NewVmessAccount(user *common.User) (*VmessAccount, error) {
45 id, err := uuid.Parse(user.GetProxies().GetVmess().GetId())

Callers

nothing calls this directly

Calls 2

ToTypedMessageFunction · 0.85
StringMethod · 0.45

Tested by

no test coverage detected