Remove staging code

pull/1019/head
Shelikhoo 2018-04-05 19:28:30 +08:00
parent 8e1507ae3a
commit 6d1faf5f6e
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316
1 changed files with 0 additions and 4 deletions

View File

@ -152,10 +152,6 @@ 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, unixrx proxyman.UnixReceiverConfig) {
return
}
func init() {
common.Must(common.RegisterConfig((*proxyman.InboundConfig)(nil), func(ctx context.Context, config interface{}) (interface{}, error) {
return New(ctx, config.(*proxyman.InboundConfig))