top

Package sessions contains middleware for easy session management in Martini.

 package main

 import (
   "github.com/go-martini/martini"
   "github.com/martini-contrib/sessions"
 )

 func main() {
	  m := martini.Classic()

	  store := sessions.NewCookieStore([]byte("secret123"))
	  m.Use(sessions.Sessions("my_session", store))

	  m.Get("/", func(session sessions.Session) string {
		  session.Set("hello", "world")
	  })
 }

Imported by 300 package(s)

  1. github.com/3dd13/sample-martini-session-sign-in-sign-out
  2. github.com/3dd13/sample-martini-session-sign-in-sign-out/sessionauth
  3. github.com/Arimeka/hello_martini
  4. github.com/Arimeka/hello_martini/config/session
  5. github.com/Bowbaq/oauth2
  6. github.com/ConradIrwin/csrf
  7. github.com/FranklinYinanDing/SSNOC-SB8-Frontend
  8. github.com/GopherCasts/Lessons/lesson8
  9. github.com/GopherCasts/Lessons/lesson9
  10. github.com/GopherGala/authy/martini
  11. github.com/JamesClonk/cf-go-client-example
  12. github.com/JasonSoft/ThinkStore
  13. github.com/KojiTakahara/dragon-formula
  14. github.com/KojiTakahara/servant
  15. github.com/Logiraptor/nemesis/gae
  16. github.com/MartinGarton/gogs
  17. github.com/MendelGusmao/ephemeris/core/handlers
  18. github.com/MendelGusmao/ephemeris/core/middleware
  19. github.com/MendelGusmao/ephemeris/core/server
  20. github.com/Orion90/guessify
  21. github.com/OxySocks/Isogon
  22. github.com/Pollchat/pollchat
  23. github.com/Rompei/bot-net-framework
  24. github.com/SemQuery/web
  25. github.com/SemQuery/web/app/common
  26. github.com/SemQuery/web/app/query
  27. github.com/SemQuery/web/app/user
  28. github.com/TimothyYe/vim-tips-web/routers
  29. github.com/Xe/code/web/monorail
  30. github.com/Xe/code/web/monorail/views/index
  31. github.com/Xe/code/web/monorail/views/login
  32. github.com/XuHaoJun/dao
  33. github.com/XuHaoJun/oauth2
  34. github.com/Zxnui/go-api-haiyun
  35. github.com/Zxnui/go-martini-test/test4
  36. github.com/Zxnui/go-martini-test/test4/controllers
  37. github.com/Zxnui/go-martini-test/test4/middlewares
  38. github.com/abijr/Kails
  39. github.com/abijr/Kails/middleware
  40. github.com/acidlemon/gate
  41. github.com/acidlemon/isucon2014-qualifier/go
  42. github.com/agrison/oauth2
  43. github.com/alarky/isucon4_qual/go
  44. github.com/amap-vallons/amap-vallons-backend
  45. github.com/asaskevich/gosite
  46. github.com/ascoders/as
  47. github.com/ascoders/as/conf
  48. github.com/ascoders/as/lib/csrf
  49. github.com/ascurnow/FYP/fypMain
  50. github.com/ascurnow/FYP/fypTest/controllers
  51. github.com/ascurnow/oauth2
  52. github.com/asm-products/readraptor/lib
  53. github.com/axcoto/gocast
  54. github.com/axelgenus/loa/backend
  55. github.com/bgentry/dmv/examples/google
  56. github.com/bgentry/dmv/examples/local
  57. github.com/blachniet/oauth2
  58. github.com/blackazaru/blog
  59. github.com/brianorc/yacms/app
  60. github.com/brianorc/yacms/app/handlers
  61. github.com/catatsuy/gate
  62. github.com/catatsuy/go_ptl
  63. github.com/chobie/gate
  64. github.com/christopherobin/authy/martini
  65. github.com/chronitonapp/chroniton
  66. github.com/chronitonapp/chroniton/services
  67. github.com/chronitonapp/chroniton/utils
  68. github.com/ckeyer/go-ci/api
  69. github.com/ckeyer/go-ci/lib
  70. github.com/ckeyer/go-sh/api
  71. github.com/ckeyer/go-sh/lib
  72. github.com/ckeyer/sloth/api
  73. github.com/cloudfoundry-community/cf-go-client-example
  74. github.com/cmusv-fse/SSNOC-SB8-Frontend
  75. github.com/curt-labs/API
  76. github.com/curt-labs/GoAPI
  77. github.com/cwen-coder/youth
  78. github.com/dmathieu/deploy_docus/deploy_docus
  79. github.com/dougbarrett/expensetracker/frontend
  80. github.com/dougbarrett/martini-user-auth
  81. github.com/dougbarrett/oauth2
  82. github.com/drawing/Words
  83. github.com/drawing/Words/action
  84. github.com/drobertduke/stacker
  85. github.com/easykoo/oauth2
  86. github.com/edvakf/gate
  87. github.com/edvakf/isu4q/go
  88. github.com/ehazlett/dialogue/api
  89. github.com/elbuo8/contribot/contribot
  90. github.com/erizocosmico/gittask
  91. github.com/exAspArk/go-in-the-office
  92. github.com/exAspArk/oauth2
  93. github.com/fd/oapx
  94. github.com/fd/oapx/handlers
  95. github.com/firstrow/logvoyage/web
  96. github.com/firstrow/logvoyage/web/context
  97. github.com/firstrow/logvoyage/web/middleware
  98. github.com/forease/martini-middleware
  99. github.com/fort-pinnsvin/travel
  100. github.com/fort-pinnsvin/travel/handlers
  101. github.com/fort-pinnsvin/travel/helpfunc
  102. github.com/fujiwara/gate
  103. github.com/g89250741413/blog
  104. github.com/g89250741413/blog/controllers
  105. github.com/gazoon/blog_go
  106. github.com/gazoon/blog_go/controllers
  107. github.com/geraint0923/NUPoster
  108. github.com/go-galaxy/galaxy
  109. github.com/go-galaxy/galaxy/controller
  110. github.com/go-galaxy/galaxy/example
  111. github.com/gophergala/authy/martini
  112. github.com/gophergala/docker-bastion/manager
  113. github.com/gophergala/docker-bastion/manager/views
  114. github.com/gophergala/gopherpress/handlers
  115. github.com/gophergala2016/chroniton
  116. github.com/gophergala2016/chroniton/services
  117. github.com/gophergala2016/chroniton/utils
  118. github.com/hamadu/isucon4/qualifier/webapp/go
  119. github.com/handlename/martini-contrib-oauth2
  120. github.com/hdczsf/mandela
  121. github.com/heridev/gophergala_repositories/authy/martini
  122. github.com/heridev/gophergala_repositories/docker-bastion/manager
  123. github.com/heridev/gophergala_repositories/docker-bastion/manager/views
  124. github.com/heridev/gophergala_repositories/gopherpress
  125. github.com/heridev/gophergala_repositories/gopherpress/handlers
  126. github.com/hongzhen/csrf
  127. github.com/hongzhen/oauth2
  128. github.com/hongzhen/sessionauth
  129. github.com/hongzhen/sessionauth/example
  130. github.com/hoysoft/oauth2-1
  131. github.com/hugme/login_template/src
  132. github.com/humboldtux/authy/martini
  133. github.com/hwartig/Lessons/lesson8
  134. github.com/hwartig/Lessons/lesson9
  135. github.com/ikeikeikeike/godic/views
  136. github.com/izqui/gittask
  137. github.com/izqui/oauth2
  138. github.com/jShi-git/go-demos/session
  139. github.com/jaisingh/oauth2
  140. github.com/jakecoffman/game-server
  141. github.com/jamesmillerio/YNAWB
  142. github.com/jamieomatthews/gosnap
  143. github.com/jaredfolkins/csrf
  144. github.com/jasonsoft/ThinkStore
  145. github.com/jayrox/gopixelrelay
  146. github.com/jayrox/gopixelrelay/controllers
  147. github.com/jayrox/gopixelrelay/middleware
  148. github.com/jayrox/vertigo
  149. github.com/jen6/busta/src
  150. github.com/jinpeng/oauth2
  151. github.com/jmervine/dmv/examples/google
  152. github.com/jmervine/dmv/examples/local
  153. github.com/jonthornton/martini-contrib-oauth1/oauth1
  154. github.com/jovon/cf_martini_api
  155. github.com/jshrake/pollr/rest-server
  156. github.com/jwilder/gofana
  157. github.com/jwilder/oauth2
  158. github.com/kentana20/isucon4/qualifier/webapp/go
  159. github.com/kilatev/GoGonki
  160. github.com/kklt92/NUPoster
  161. github.com/kustomzone/altcoin-go/gui
  162. github.com/kvannotten/projects/webapps/part2
  163. github.com/kyf/6ryim/6ryim_admin
  164. github.com/kyf/compass/admin
  165. github.com/kyf/compass/apps/admin
  166. github.com/lab-D8/lol-at-pitt
  167. github.com/lab-D8/oauth2
  168. github.com/lab-d8/lol-at-pitt
  169. github.com/lab-d8/oauth2
  170. github.com/latermoon/mdblog/controller
  171. github.com/lawnchairstudios/example-rest-api-go-martini
  172. github.com/lc0/datadriven-web
  173. github.com/lfn3/trmemarket
  174. github.com/lstoll/cameras
  175. github.com/mackee/gate
  176. github.com/martini-contrib/csrf
  177. github.com/martini-contrib/oauth2
  178. github.com/martini-contrib/sessionauth
  179. github.com/martini-contrib/sessionauth/example
  180. github.com/mbardea/podd.club
  181. github.com/mickelsonm/martini-dmvoauth
  182. github.com/mickelsonm/martini-dmvoauth/controllers/authentication
  183. github.com/mikeyoon/MyDailyStuff
  184. github.com/mikeyoon/MyDailyStuff/lib
  185. github.com/millere/ludanto/api/session
  186. github.com/milogert/ocdns
  187. github.com/motemen/pocket-expose-web
  188. github.com/mpgarate/justread
  189. github.com/mpgarate/justread/controllers
  190. github.com/mvader/gittask
  191. github.com/natemcmaster/adopt-a-source
  192. github.com/natemcmaster/adopt-a-source/api
  193. github.com/ninnemana/API
  194. github.com/ninnemana/dynamicfab
  195. github.com/ninnemana/dynamicfab/controllers/admin
  196. github.com/ninnemana/dynamicfab/controllers/auth
  197. github.com/nvisibleinc/control-surface
  198. github.com/oniproject/oniproject/oni
  199. github.com/patrickdappollonio/projects/webapps/part2
  200. github.com/payallmoney/sharego
  201. github.com/payallmoney/sharego/auth
  202. github.com/payallmoney/videomanager
  203. github.com/payallmoney/videomanager/src/app/admin
  204. github.com/payallmoney/videomanager/src/app/user
  205. github.com/payallmoney/videomanager/src/app/verifyer
  206. github.com/payallmoney/videomanager/src/app/worker
  207. github.com/payallmoney/videomanager/src/auth
  208. github.com/pengux/gogs
  209. github.com/pengux/readraptor/lib
  210. github.com/peteraba/go-blah/template
  211. github.com/pivotal-pez/pezauth/service
  212. github.com/pivotalservices/pezauth/service
  213. github.com/prestonTao/mandela/web
  214. github.com/ptdave20/helpdesk
  215. github.com/qapi/goblog-playground
  216. github.com/ranveerkunal/login
  217. github.com/rday/sessionauth
  218. github.com/rday/sessionauth/example
  219. github.com/rmorriso/askeecs/server
  220. github.com/robinmin/polaris
  221. github.com/rolandjudd/thingstodo/server
  222. github.com/rolaveric/GoHttp
  223. github.com/rverton/csrf
  224. github.com/sausheong/goauthserv
  225. github.com/secmask/mpage
  226. github.com/secretpenguins/hello-go
  227. github.com/semquery/web
  228. github.com/semquery/web/app/common
  229. github.com/semquery/web/app/query
  230. github.com/semquery/web/app/user
  231. github.com/shiki49/0920_isucon4
  232. github.com/shiki49/pre_isucon4
  233. github.com/shogo82148/gate
  234. github.com/sibukixxx/gate
  235. github.com/silentred/instagram-crawler
  236. github.com/sizkin/gowebserver-sample
  237. github.com/sizkin/gowebserver-sample/sessionauth
  238. github.com/sklyar/go-test/page
  239. github.com/smallsweet/gofana
  240. github.com/sriluyarlagadda/projects/webapps/part2
  241. github.com/sshikaree/gosha
  242. github.com/steveoc64/cycle2u
  243. github.com/stinkyfingers/HitchInfoFinal
  244. github.com/stinkyfingers/angular
  245. github.com/stinkyfingers/bandPlan
  246. github.com/stinkyfingers/bandPlan/controllers/login
  247. github.com/stinkyfingers/improv
  248. github.com/stinkyfingers/improv/controllers/login
  249. github.com/takady/isucon4/qualifier/webapp/go
  250. github.com/taurencode/yacms/app
  251. github.com/taurencode/yacms/app/handlers
  252. github.com/tcolar/album
  253. github.com/theraphim/smartpxe/webcontrol
  254. github.com/timesking/webapp
  255. github.com/timothyye/vim-tips-web/routers
  256. github.com/tjsage2/hello-go
  257. github.com/tomsteele/dmv/examples/google
  258. github.com/tomsteele/dmv/examples/local
  259. github.com/toople-co/toople-web
  260. github.com/toqueteos/altcoin/gui
  261. github.com/tpiha/barecv/app
  262. github.com/tristanwietsma/askeecs/server
  263. github.com/trustedanalytics/application-broker/broker
  264. github.com/typester/gate
  265. github.com/ukitazume/bunkai
  266. github.com/unrolled/csrf
  267. github.com/unrolled/csrf/examples/angular
  268. github.com/unrolled/csrf/examples/server_rendered
  269. github.com/varver/go-boilerplate
  270. github.com/vastbinderj/dmv/examples/local
  271. github.com/viliamjr/microblog/blog
  272. github.com/viliamjr/microblog/login
  273. github.com/vpereira/micro-topt/services/login
  274. github.com/vsrc/goblog-playground
  275. github.com/wataru420/isucon4/qualifier/webapp/go
  276. github.com/wdgk/isucon4-sample/webapp/go
  277. github.com/weslleyandrade/oauth2
  278. github.com/wheelcomplex/askeecs/server
  279. github.com/willnix/tinkerBlog
  280. github.com/xuender/family
  281. github.com/xuender/family/src
  282. github.com/xuender/family/web
  283. github.com/xuender/mgoAdmin
  284. github.com/xuender/mindfulness/src
  285. github.com/xuender/mindfulness/src/web
  286. github.com/xuhaojun/dao
  287. github.com/xuhaojun/oauth2
  288. github.com/yetist/gossadmin
  289. github.com/ygabo/chatgo
  290. github.com/ygabo/gologin
  291. github.com/ygabo/todogo
  292. github.com/yinshuwei/xvxv/resmanager
  293. github.com/ymohii/csrf
  294. github.com/ymohii/csrf/examples/angular
  295. github.com/ymohii/csrf/examples/server_rendered
  296. github.com/ys/deploysaurus/deploysaurus
  297. github.com/yukidarake/isucon4/qualifier/webapp/go
  298. github.com/zakiry/isucon4_yosen/go
  299. github.com/zhigaev/auth
  300. github.com/ztsyed/oauth2

Imported only in test by 3 package(s)

  1. github.com/codinl/sessionauth
  2. github.com/gobuild/oauth2
  3. github.com/gorelease/oauth2

Imports 4 package(s)

  1. github.com/boj/redistore
  2. github.com/go-martini/martini
  3. github.com/gorilla/context
  4. github.com/gorilla/sessions