1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-28 23:06:14 -04:00

remove unused code

This commit is contained in:
v2ray 2016-02-25 16:58:54 +01:00
parent 791ac307a2
commit f0081f5327

View File

@ -1,20 +0,0 @@
package mocks
import (
"github.com/v2ray/v2ray-core/common/protocol"
"github.com/v2ray/v2ray-core/common/uuid"
)
type StaticUserSet struct {
}
func (us *StaticUserSet) Add(user *protocol.User) error {
return nil
}
func (us *StaticUserSet) Get(userhash []byte) (*protocol.User, protocol.Timestamp, bool) {
id, _ := uuid.ParseString("703e9102-eb57-499c-8b59-faf4f371bb21")
return &protocol.User{
ID: protocol.NewID(id),
}, 0, true
}