1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-27 22:36:12 -04:00
This commit is contained in:
Darien Raymond 2016-12-07 13:12:42 +01:00
parent 1bc66604fa
commit 2f550186ac
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -1,11 +1,11 @@
package protocol
// Account is an user identity used for authentication.
type Account interface {
Equals(Account) bool
}
// AsAccount is an object can be converted into account.
type AsAccount interface {
AsAccount() (Account, error)
}
type NewAccountFactory func() AsAccount