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

Method Message

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

Source from the content-addressed store, hash-verified

158}
159
160func (sa *ShadowsocksTcpAccount) Message() (*serial.TypedMessage, error) {
161 return ToTypedMessage(&shadowsocks.Account{Password: sa.Password, CipherType: shadowsocks.CipherType(CipherType_value[sa.Method])})
162}
163
164func NewShadowsocksTcpAccount(user *common.User) *ShadowsocksTcpAccount {
165 method := user.GetProxies().GetShadowsocks().GetMethod()

Callers

nothing calls this directly

Calls 2

ToTypedMessageFunction · 0.85
CipherTypeMethod · 0.80

Tested by

no test coverage detected