gin-gonic / examples

A repository to host examples and tutorials for Gin.

Home Page:https://gin-gonic.com/docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update accounts in Basic Auth example

franpog859 opened this issue · comments

Is there a simple way to update valid account map (username-password pairs) without killing the app, changing it in the code, recompiling it and running again? I'd love to see it in the example if it is possible!
There is the place where it is hardcoded.