mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-04-23 05:59:11 -04:00
accounts in protobuf
This commit is contained in:
@@ -3,3 +3,9 @@ package protocol
|
||||
type Account interface {
|
||||
Equals(Account) bool
|
||||
}
|
||||
|
||||
type AsAccount interface {
|
||||
AsAccount() (Account, error)
|
||||
}
|
||||
|
||||
type NewAccountFactory func() AsAccount
|
||||
|
||||
Reference in New Issue
Block a user