v2ray-core/common/protocol/user_validator.go

8 lines
148 B
Go
Raw Normal View History

2016-02-25 16:40:43 +01:00
package protocol
type UserValidator interface {
Add(user *User) error
Get(timeHash []byte) (*User, Timestamp, bool)
2018-02-09 11:32:12 +01:00
Remove(email string) bool
2016-02-25 16:40:43 +01:00
}