Restructure the REST API packages
- Rename
server/restapitoserver/adkrestto matchserver/adka2a. - Move non-public packages to internal.
- Rename
server/handlerstoserver/controllersbecause it contains controllers. - Name all handlers *Handler per Go convention.
- Move AgentLoader to the agent package.
TODO: Consider moving controllers into an internal package.
PTAL
LGTM!
Let me know if you'd like to update this PR to hide restapi entities and expose only NewHandler(config *launcher.Config) http.Handler
I'll revisit this PR to make some changes the hide more of the public surface. I'll introduce something like NewHandler as a part of the change.
PTAL
We will follow up with some more changes to the launchers, but this PR is ready for review.
adk-docs /examples/go should be updated after we merge: for sure cloud-run and a2a_basic/remote_a2a/check_prime_agent, maybe more
Can I have LGTM again? I had to rebase.