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

Method CipherType

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

Source from the content-addressed store, hash-verified

154}
155
156func (sa *ShadowsocksTcpAccount) CipherType() string {
157 return sa.Method
158}
159
160func (sa *ShadowsocksTcpAccount) Message() (*serial.TypedMessage, error) {
161 return ToTypedMessage(&shadowsocks.Account{Password: sa.Password, CipherType: shadowsocks.CipherType(CipherType_value[sa.Method])})

Callers 1

MessageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected