mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-08-14 11:00:39 -04:00
Schedulers -> Flow
This commit is contained in:
@@ -15,7 +15,7 @@ func (a *Account) AsAccount() (protocol.Account, error) {
|
||||
}
|
||||
return &MemoryAccount{
|
||||
ID: protocol.NewID(id),
|
||||
Schedulers: a.Schedulers, // needs parser here?
|
||||
Flow: a.Flow, // needs parser here?
|
||||
Encryption: a.Encryption, // needs parser here?
|
||||
}, nil
|
||||
}
|
||||
@@ -24,8 +24,8 @@ func (a *Account) AsAccount() (protocol.Account, error) {
|
||||
type MemoryAccount struct {
|
||||
// ID of the account.
|
||||
ID *protocol.ID
|
||||
// Schedulers of the account.
|
||||
Schedulers string
|
||||
// Flow of the account. May be "xtls-rprx-origin".
|
||||
Flow string
|
||||
// Encryption of the account. Used for client connections, and only accepts "none" for now.
|
||||
Encryption string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user