(context.Context, types.BackendRequest)
| 15 | func (a timeoutAdapter) Name() string { return a.name } |
| 16 | |
| 17 | func (timeoutAdapter) Invoke(context.Context, types.BackendRequest) (types.BackendResponse, error) { |
| 18 | return types.BackendResponse{}, upstream.New(upstream.KindTimeout, "simulated") |
| 19 | } |
| 20 | |
| 21 | func (timeoutAdapter) Health(context.Context) error { return nil } |
| 22 |