Skip to content

Instantly share code, notes, and snippets.

@ilovelili
Created April 25, 2024 08:57
Show Gist options
  • Save ilovelili/458d0013d0adceaa50c9a57bebae72fa to your computer and use it in GitHub Desktop.
Save ilovelili/458d0013d0adceaa50c9a57bebae72fa to your computer and use it in GitHub Desktop.
// 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