1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-30 05:55:20 -05:00
This commit is contained in:
Darien Raymond
2016-12-07 13:12:42 +01:00
parent 1bc66604fa
commit 2f550186ac

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