Explorar o código

Type switch for UnixReceiver

Shelikhoo %!s(int64=7) %!d(string=hai) anos
pai
achega
7afd26a78f
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      app/proxyman/inbound/inbound.go

+ 4 - 0
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))