1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-25 17:05:23 +00:00
v2fly/common/protocol/user_validator.go
2016-07-25 17:36:24 +02:00

13 lines
191 B
Go

package protocol
import (
"github.com/v2ray/v2ray-core/common"
)
type UserValidator interface {
common.Releasable
Add(user *User) error
Get(timeHash []byte) (*User, Timestamp, bool)
}