remove unused code

pull/97/head
v2ray 2016-02-25 16:58:54 +01:00
parent 791ac307a2
commit f0081f5327
1 changed files with 0 additions and 20 deletions

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
}