Tags: goji/ctx-csrf
Tags
v2.0 release! **BREAKING** * Now supports Goji v2 (https://goji.io) * `csrf.Protect` now returns `func(goji.Handler) goji.Handler` instead of `web.Handler`s * `csrf.ErrorHandler` now accepts a `goji.Handler` instead of a `web.Handler` * `context.Context` is used throughout instead of `web.C.Env` (package users need to pass the parent `context.Context` to retrieve the token) The original v1 package still exists at https://github.com/goji/csrf (the original import path) for users still on Goji v1.