()
| 158 | } |
| 159 | |
| 160 | func init() { |
| 161 | common.Must(common.RegisterConfig((*Config)(nil), func(ctx context.Context, config interface{}) (interface{}, error) { |
| 162 | t := &Handler{config: config.(*Config)} |
| 163 | err := core.RequireFeatures(ctx, func(pm policy.Manager, dispatcher routing.Dispatcher) error { |
| 164 | return t.Init(ctx, pm, dispatcher) |
| 165 | }) |
| 166 | return t, err |
| 167 | })) |
| 168 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…