1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-07-16 02:04:35 -04:00
v2fly/proxy/internal/creator.go

10 lines
373 B
Go

package internal
import (
"github.com/v2ray/v2ray-core/app"
"github.com/v2ray/v2ray-core/proxy/common/connhandler"
)
type InboundConnectionHandlerCreator func(space app.Space, config interface{}) (connhandler.InboundConnectionHandler, error)
type OutboundConnectionHandlerCreator func(space app.Space, config interface{}) (connhandler.OutboundConnectionHandler, error)