├── .gitignore ├── LICENSE ├── README.md ├── csrf.go ├── csrf_test.go ├── examples ├── angular │ ├── public │ │ └── main.js │ ├── server.go │ └── templates │ │ ├── index.html │ │ └── login.tmpl └── server_rendered │ ├── server.go │ └── templates │ ├── custom_error.tmpl │ ├── error.html │ ├── index.tmpl │ ├── login.tmpl │ └── result.tmpl └── wercker.yml /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martini-contrib/csrf/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martini-contrib/csrf/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martini-contrib/csrf/HEAD/README.md -------------------------------------------------------------------------------- /csrf.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martini-contrib/csrf/HEAD/csrf.go -------------------------------------------------------------------------------- /csrf_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martini-contrib/csrf/HEAD/csrf_test.go -------------------------------------------------------------------------------- /examples/angular/public/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martini-contrib/csrf/HEAD/examples/angular/public/main.js -------------------------------------------------------------------------------- /examples/angular/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martini-contrib/csrf/HEAD/examples/angular/server.go -------------------------------------------------------------------------------- /examples/angular/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martini-contrib/csrf/HEAD/examples/angular/templates/index.html -------------------------------------------------------------------------------- /examples/angular/templates/login.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martini-contrib/csrf/HEAD/examples/angular/templates/login.tmpl -------------------------------------------------------------------------------- /examples/server_rendered/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martini-contrib/csrf/HEAD/examples/server_rendered/server.go -------------------------------------------------------------------------------- /examples/server_rendered/templates/custom_error.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martini-contrib/csrf/HEAD/examples/server_rendered/templates/custom_error.tmpl -------------------------------------------------------------------------------- /examples/server_rendered/templates/error.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martini-contrib/csrf/HEAD/examples/server_rendered/templates/error.html -------------------------------------------------------------------------------- /examples/server_rendered/templates/index.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martini-contrib/csrf/HEAD/examples/server_rendered/templates/index.tmpl -------------------------------------------------------------------------------- /examples/server_rendered/templates/login.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martini-contrib/csrf/HEAD/examples/server_rendered/templates/login.tmpl -------------------------------------------------------------------------------- /examples/server_rendered/templates/result.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/martini-contrib/csrf/HEAD/examples/server_rendered/templates/result.tmpl -------------------------------------------------------------------------------- /wercker.yml: -------------------------------------------------------------------------------- 1 | box: wercker/golang@1.1.1 2 | --------------------------------------------------------------------------------