فهرست منبع

remove unused code

v2ray 9 سال پیش
والد
کامیت
f0081f5327
1فایلهای تغییر یافته به همراه0 افزوده شده و 20 حذف شده
  1. 0 20
      proxy/vmess/protocol/testing/static_userset.go

+ 0 - 20
proxy/vmess/protocol/testing/static_userset.go

@@ -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
-}