Created
April 25, 2024 08:57
-
-
Save ilovelili/458d0013d0adceaa50c9a57bebae72fa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Handle auth route | |
func authHandler(c echo.Context) error { | |
// how we can get params sent in the message like this one? => `{"action": "auth", "params", "<<api key>>"}` | |
// check api key in param and do auth | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment