Skip to content

Instantly share code, notes, and snippets.

@gufranmirza
Created June 21, 2019 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gufranmirza/be02e8ce3c0e240676dc834e60694056 to your computer and use it in GitHub Desktop.
Save gufranmirza/be02e8ce3c0e240676dc834e60694056 to your computer and use it in GitHub Desktop.
package main
import (
"github.com/labstack/echo/middleware"
)
var IsLoggedIn = middleware.JWTWithConfig(middleware.JWTConfig{
SigningKey: []byte("secret"),
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment