1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-11-23 12:02:58 -05:00

hide space implementations from interfaces

This commit is contained in:
Darien Raymond
2015-12-11 11:01:20 +00:00
parent 46ab9c45cc
commit dd81fc6f6a
23 changed files with 162 additions and 119 deletions

View File

@@ -11,7 +11,7 @@ import (
type InboundConnectionHandler struct {
Port v2net.Port
space *app.Space
space app.Space
ConnInput io.Reader
ConnOutput io.Writer
}
@@ -49,7 +49,7 @@ func (this *InboundConnectionHandler) Communicate(packet v2net.Packet) error {
return nil
}
func (this *InboundConnectionHandler) Create(space *app.Space, config interface{}) (connhandler.InboundConnectionHandler, error) {
func (this *InboundConnectionHandler) Create(space app.Space, config interface{}) (connhandler.InboundConnectionHandler, error) {
this.space = space
return this, nil
}