move fundamental interfaces from vmess to common

This commit is contained in:
v2ray committed 2016-02-03 11:58:42 +01:00
1 parent e8b0505c01
commit 2147ba5ab3
19 files changed
+67 -63

No files matched your search

+2 -2
View File
@@ -5,8 +5,8 @@ package inbound
import (
"encoding/json"
proto "github.com/v2ray/v2ray-core/common/protocol"
"github.com/v2ray/v2ray-core/proxy/internal/config"
"github.com/v2ray/v2ray-core/proxy/vmess"
)
func (this *DetourConfig) UnmarshalJSON(data []byte) error {
@@ -35,7 +35,7 @@ func (this *FeaturesConfig) UnmarshalJSON(data []byte) error {
func (this *Config) UnmarshalJSON(data []byte) error {
type JsonConfig struct {
Users []*vmess.User `json:"clients"`
Users []*proto.User `json:"clients"`
Features *FeaturesConfig `json:"features"`
}
jsonConfig := new(JsonConfig)