Created
June 21, 2019 14:14
-
-
Save gufranmirza/be02e8ce3c0e240676dc834e60694056 to your computer and use it in GitHub Desktop.
This file contains 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
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