Updating Radius Server Plugin

I’m trying to use the v1 radius server plugin with v2 now.

I can use caddy-builder just fine with plugins like Cloudflare but the existing Radius server one seems to be more complex.
After I update the references as necessary to github.com/caddyserver/caddy/v2 and removing the mholt references, there are still a bunch of errors in multiple files
imported and not used: “github.com/caddyserver/caddy/v2” as caddy
undefined: httpserver
undefined: caddy.Controller
etc. Is this one going to be too hard to rewrite?

Caddy v2 is a complete rewrite from v1. There were many fundamental changes. Caddy v1 plugins need significant changes to work with v2.

See the docs that describe how plugins work in v2: