Versions in this module Expand all Collapse all v0 v0.1.2 Nov 29, 2022 v0.1.1 Nov 30, 2022 Changes in this version + func New(_ context.Context, next http.Handler, config *Config, name string) (http.Handler, error) + type Config struct + CheckCookie bool + CheckHeader bool + CookieName string + HeaderName string + HeaderValuePrefix string + InjectHeader string + SignKey string + SsoLoginURL string + func CreateConfig() *Config + type JwtPlugin struct + func (j *JwtPlugin) ServeHTTP(rw http.ResponseWriter, req *http.Request)