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