1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-23 01:15:31 -05:00

Remove prefix 'V' in struct names

This commit is contained in:
V2Ray
2015-09-12 22:11:54 +02:00
parent cc3fdb6ef4
commit 51670b223d
27 changed files with 201 additions and 201 deletions

View File

@@ -10,10 +10,10 @@ import (
type FakeOutboundConnectionHandler struct {
Data2Send *bytes.Buffer
Data2Return []byte
Destination v2net.VAddress
Destination v2net.Address
}
func (handler *FakeOutboundConnectionHandler) Start(ray core.OutboundVRay) error {
func (handler *FakeOutboundConnectionHandler) Start(ray core.OutboundRay) error {
input := ray.OutboundInput()
output := ray.OutboundOutput()
@@ -28,6 +28,6 @@ func (handler *FakeOutboundConnectionHandler) Start(ray core.OutboundVRay) error
return nil
}
func (handler *FakeOutboundConnectionHandler) Create(vPoint *core.VPoint, dest v2net.VAddress) (core.OutboundConnectionHandler, error) {
func (handler *FakeOutboundConnectionHandler) Create(point *core.Point, dest v2net.Address) (core.OutboundConnectionHandler, error) {
return handler, nil
}