v2ray-core/proxy/internal/creator.go

10 lines
342 B
Go
Raw Normal View History

package internal
import (
"github.com/v2ray/v2ray-core/app"
2016-01-02 22:32:18 +00:00
"github.com/v2ray/v2ray-core/proxy"
)
2016-01-02 22:32:18 +00:00
type InboundConnectionHandlerCreator func(space app.Space, config interface{}) (proxy.InboundConnectionHandler, error)
type OutboundConnectionHandlerCreator func(space app.Space, config interface{}) (proxy.OutboundConnectionHandler, error)