v2ray-core/proxy/internal/creator.go

10 lines
302 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-25 16:27:15 +00:00
type InboundHandlerCreator func(space app.Space, config interface{}) (proxy.InboundHandler, error)
type OutboundHandlerCreator func(space app.Space, config interface{}) (proxy.OutboundHandler, error)