diff --git a/app/proxyman/outbound/handler.go b/app/proxyman/outbound/handler.go index d3c237e16..5b539bfe0 100644 --- a/app/proxyman/outbound/handler.go +++ b/app/proxyman/outbound/handler.go @@ -23,7 +23,7 @@ type Handler struct { mux *mux.ClientManager } -func NewHandler(ctx context.Context, config *core.OutboundHandlerConfig) (*Handler, error) { +func NewHandler(ctx context.Context, config *core.OutboundHandlerConfig) (core.OutboundHandler, error) { v := core.FromContext(ctx) if v == nil { return nil, newError("V is not in context")