(user *common.User)
| 139 | } |
| 140 | |
| 141 | func NewShadowsocksAccount(user *common.User) *ShadowsocksAccount { |
| 142 | return &ShadowsocksAccount{ |
| 143 | BaseAccount: BaseAccount{ |
| 144 | Email: user.GetEmail(), |
| 145 | Level: 0, |
| 146 | }, |
| 147 | Password: user.GetProxies().GetShadowsocks().GetPassword(), |
| 148 | } |
| 149 | } |
| 150 | |
| 151 | type ShadowsocksTcpAccount struct { |
| 152 | ShadowsocksAccount |
no test coverage detected