feature: Adds backend removal support.

This commit is contained in:
greysoh 2024-12-23 16:18:35 -05:00
parent 0b73b4aa47
commit 3484760f41
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
4 changed files with 128 additions and 9 deletions

View file

@ -192,6 +192,7 @@ func entrypoint(cCtx *cli.Context) error {
engine.POST("/api/v1/users/lookup", users.LookupUser)
engine.POST("/api/v1/backends/create", backends.CreateBackend)
engine.POST("/api/v1/backends/remove", backends.RemoveBackend)
log.Infof("Listening on '%s'", listeningAddress)
err = engine.Run(listeningAddress)