()
| 185 | } |
| 186 | |
| 187 | func (ha *HysteriaAccount) Message() (*serial.TypedMessage, error) { |
| 188 | return ToTypedMessage(&hysteria.Account{Auth: ha.Auth}) |
| 189 | } |
| 190 | |
| 191 | func NewHysteriaAccount(user *common.User) *HysteriaAccount { |
| 192 | return &HysteriaAccount{ |
nothing calls this directly
no test coverage detected