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

Method Message

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

Source from the content-addressed store, hash-verified

86}
87
88func (ta *TrojanAccount) Message() (*serial.TypedMessage, error) {
89 return ToTypedMessage(&trojan.Account{Password: ta.Password})
90}
91
92func NewTrojanAccount(user *common.User) *TrojanAccount {
93 return &TrojanAccount{

Callers

nothing calls this directly

Calls 1

ToTypedMessageFunction · 0.85

Tested by

no test coverage detected