Updated docs: whats new in 2.0, added sharing reference docs page, #1571

This commit is contained in:
Torkel Ödegaard
2015-03-26 17:55:07 +01:00
parent 2ca86b6085
commit 165647184d
6 changed files with 75 additions and 13 deletions
+1 -1
View File
@@ -184,7 +184,7 @@ Valid values are "memory", "file", "mysql", 'postgres'. Default is "memory".
This option should be configured differently depending on what type of session provider you have configured.
- **file:** session file path, e.g. `data/sessions`
- **mysql:** go-sql-driver/mysql dsn config string, e.g. `root:password@/session_table`
- **mysql:** go-sql-driver/mysql dsn config string, e.g. `user:password@tcp(127.0.0.1)/database_name`
if you use mysql or postgres as session store you need to create the session table manually.
Mysql Example: