1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-18 02:16:10 -05:00
v2fly/common/protocol/user_validator.go

13 lines
178 B
Go
Raw Normal View History

2016-02-25 10:40:43 -05:00
package protocol
import (
2016-08-20 14:55:45 -04:00
"v2ray.com/core/common"
2016-02-25 10:40:43 -05:00
)
type UserValidator interface {
2016-04-25 12:39:30 -04:00
common.Releasable
2016-02-25 10:40:43 -05:00
Add(user *User) error
Get(timeHash []byte) (*User, Timestamp, bool)
}