From 7afd26a78fa69a3fdbb3717536ae6036cdc9104e Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Thu, 28 Dec 2017 11:06:51 +0800 Subject: [PATCH] Type switch for UnixReceiver --- app/proxyman/inbound/inbound.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/proxyman/inbound/inbound.go b/app/proxyman/inbound/inbound.go index e7a190bb4..e6b2acbd1 100644 --- a/app/proxyman/inbound/inbound.go +++ b/app/proxyman/inbound/inbound.go @@ -143,6 +143,10 @@ func NewHandler(ctx context.Context, config *core.InboundHandlerConfig) (core.In return nil, newError("unknown allocation strategy: ", receiverSettings.AllocationStrategy.Type).AtError() } +func (m *Manager) asUnixReceiverConfig(ctx context.Context, config *core.InboundHandlerConfig) { + +} + func init() { common.Must(common.RegisterConfig((*proxyman.InboundConfig)(nil), func(ctx context.Context, config interface{}) (interface{}, error) { return New(ctx, config.(*proxyman.InboundConfig))