go-passwordless-demo

command module
v0.0.0-...-20ea284 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2015 License: MIT Imports: 11 Imported by: 0

README

Deploy

Passwordless Demo

This is the project source code from my blog post on pixeldonor.com.

Running the Project On Heroku

If you're a heroku fan, simply use the heroku button and you'll be up and running with the demo app in moments.

Running the Project Local

Should you wish to run the project local, you'll want to make sure you've set all the necessary environment variables.

Generating Random Keys

There's two required environment variables AUTH_KEY and ENCRYPT_KEY which should be random strings. You can use this snippet on play.golang.org to generate your own. Remember, the ENCRYPT_KEY should be of a fixed length (16, 24, or 32) so you'll need to adjust the string accordingly.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/github.com/codegangsta/negroni
Package negroni is an idiomatic approach to web middleware in Go.
Package negroni is an idiomatic approach to web middleware in Go.
_workspace/src/github.com/coopernurse/gorp
Package gorp provides a simple way to marshal Go structs to and from SQL databases.
Package gorp provides a simple way to marshal Go structs to and from SQL databases.
_workspace/src/github.com/gorilla/context
Package context stores values shared during a request lifetime.
Package context stores values shared during a request lifetime.
_workspace/src/github.com/gorilla/handlers
Package handlers is a collection of handlers for use with Go's net/http package.
Package handlers is a collection of handlers for use with Go's net/http package.
_workspace/src/github.com/gorilla/mux
Package gorilla/mux implements a request router and dispatcher.
Package gorilla/mux implements a request router and dispatcher.
_workspace/src/github.com/gorilla/securecookie
Package gorilla/securecookie encodes and decodes authenticated and optionally encrypted cookie values.
Package gorilla/securecookie encodes and decodes authenticated and optionally encrypted cookie values.
_workspace/src/github.com/gorilla/sessions
Package gorilla/sessions provides cookie and filesystem sessions and infrastructure for custom session backends.
Package gorilla/sessions provides cookie and filesystem sessions and infrastructure for custom session backends.
_workspace/src/github.com/guregu/null
Package null contains types that consider zero input and null input as separate values.
Package null contains types that consider zero input and null input as separate values.
_workspace/src/github.com/guregu/null/zero
Package zero provides a convenient way of handling null values.
Package zero provides a convenient way of handling null values.
_workspace/src/github.com/justinas/nosurf
Package nosurf implements an HTTP handler that mitigates Cross-Site Request Forgery Attacks.
Package nosurf implements an HTTP handler that mitigates Cross-Site Request Forgery Attacks.
_workspace/src/github.com/justinas/nosurf/examples
Demonstrates advanced usage of nosurf in conjuction with net/http: * wrapping DefaultServeMux (http.Handle(), etc.) * exempting URLs * setting your own failure handler Demonstrates how to tie together Goji (https://goji.io) and nosurf.
Demonstrates advanced usage of nosurf in conjuction with net/http: * wrapping DefaultServeMux (http.Handle(), etc.) * exempting URLs * setting your own failure handler Demonstrates how to tie together Goji (https://goji.io) and nosurf.
_workspace/src/github.com/kylelemons/go-gypsy/yaml
Gypsy is a simplified YAML parser written in Go.
Gypsy is a simplified YAML parser written in Go.
_workspace/src/github.com/lib/pq
Package pq is a pure Go Postgres driver for the database/sql package.
Package pq is a pure Go Postgres driver for the database/sql package.
_workspace/src/github.com/lib/pq/listen_example
Below you will find a self-contained Go program which uses the LISTEN / NOTIFY mechanism to avoid polling the database while waiting for more work to arrive.
Below you will find a self-contained Go program which uses the LISTEN / NOTIFY mechanism to avoid polling the database while waiting for more work to arrive.
_workspace/src/github.com/lib/pq/oid
Package oid contains OID constants as defined by the Postgres server.
Package oid contains OID constants as defined by the Postgres server.
_workspace/src/github.com/mattn/go-sqlite3
Package sqlite3 provides interface to SQLite3 databases.
Package sqlite3 provides interface to SQLite3 databases.
_workspace/src/github.com/stretchr/pat/stop
Package stop represents a pattern for types that need to do some work when stopping.
Package stop represents a pattern for types that need to do some work when stopping.
_workspace/src/github.com/ziutek/mymysql/godrv
MySQL driver for Go database/sql package
MySQL driver for Go database/sql package
_workspace/src/github.com/ziutek/mymysql/mysql
MySQL Client API written entirely in Go without any external dependences.
MySQL Client API written entirely in Go without any external dependences.
_workspace/src/github.com/ziutek/mymysql/native
Thread unsafe engine for MyMySQL
Thread unsafe engine for MyMySQL
_workspace/src/golang.org/x/net/netutil
Package netutil provides network utility functions, complementing the more common ones in the net package.
Package netutil provides network utility functions, complementing the more common ones in the net package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL