mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-06-17 00:09:56 -04:00
remove release() pattern
This commit is contained in:
@@ -1,12 +1,7 @@
|
||||
package protocol
|
||||
|
||||
import (
|
||||
"v2ray.com/core/common"
|
||||
)
|
||||
|
||||
type UserValidator interface {
|
||||
common.Releasable
|
||||
|
||||
Add(user *User) error
|
||||
Get(timeHash []byte) (*User, Timestamp, bool)
|
||||
Release()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user