1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-02-20 23:47:21 -05:00
v2fly/common/protocol/user_validator.go

13 lines
191 B
Go
Raw Normal View History

2016-02-25 16:40:43 +01:00
package protocol
import (
2016-04-25 18:39:30 +02:00
"github.com/v2ray/v2ray-core/common"
2016-02-25 16:40:43 +01:00
)
type UserValidator interface {
2016-04-25 18:39:30 +02:00
common.Releasable
2016-02-25 16:40:43 +01:00
Add(user *User) error
Get(timeHash []byte) (*User, Timestamp, bool)
}