refactor: add GetAllAPIs

This commit is contained in:
Derrick Hammer 2024-03-17 08:42:53 -04:00
parent 3e48593675
commit 3dfdd2d2f4
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 4 additions and 0 deletions

View File

@ -48,6 +48,10 @@ func GetAPI(name string) API {
return apiRegistry[name]
}
func GetAllAPIs() map[string]API {
return apiRegistry
}
func GetRouter() *router2.APIRouter {
return router
}