mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-11-13 15:14:56 -05:00
Simpilify configuration files
This commit is contained in:
@@ -32,7 +32,7 @@ func (handler *InboundConnectionHandler) Communicate(packet v2net.Packet) error
|
||||
return nil
|
||||
}
|
||||
|
||||
func (handler *InboundConnectionHandler) Create(point *core.Point, config []byte) (core.InboundConnectionHandler, error) {
|
||||
func (handler *InboundConnectionHandler) Create(point *core.Point, config interface{}) (core.InboundConnectionHandler, error) {
|
||||
handler.Server = point
|
||||
return handler, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user