(ctx context.Context, client admin_client.Client, api *entity.Router)
| 32 | } |
| 33 | |
| 34 | func ApiDelete(ctx context.Context, client admin_client.Client, api *entity.Router) error { |
| 35 | for _, handler := range apiDeleteHandlers { |
| 36 | if err := handler(ctx, client, api); err != nil { |
| 37 | return err |
| 38 | } |
| 39 | } |
| 40 | return nil |
| 41 | } |