top

Package securecookie encodes and decodes authenticated and optionally encrypted cookie values.

Secure cookies can't be forged, because their values are validated using HMAC. When encrypted, the content is also inaccessible to malicious eyes.

To use it, first create a new SecureCookie instance:

var hashKey = []byte("very-secret")
var blockKey = []byte("a-lot-secret")
var s = securecookie.New(hashKey, blockKey)

The hashKey is required, used to authenticate the cookie value using HMAC. It is recommended to use a key with 32 or 64 bytes.

The blockKey is optional, used to encrypt the cookie value -- set it to nil to not use encryption. If set, the length must correspond to the block size of the encryption algorithm. For AES, used by default, valid lengths are 16, 24, or 32 bytes to select AES-128, AES-192, or AES-256.

Strong keys can be created using the convenience function GenerateRandomKey().

Once a SecureCookie instance is set, use it to encode a cookie value:

func SetCookieHandler(w http.ResponseWriter, r *http.Request) {
	value := map[string]string{
		"foo": "bar",
	}
	if encoded, err := s.Encode("cookie-name", value); err == nil {
		cookie := &http.Cookie{
			Name:  "cookie-name",
			Value: encoded,
			Path:  "/",
		}
		http.SetCookie(w, cookie)
	}
}

Later, use the same SecureCookie instance to decode and validate a cookie value:

func ReadCookieHandler(w http.ResponseWriter, r *http.Request) {
	if cookie, err := r.Cookie("cookie-name"); err == nil {
		value := make(map[string]string)
		if err = s2.Decode("cookie-name", cookie.Value, &value); err == nil {
			fmt.Fprintf(w, "The value of foo is %q", value["foo"])
		}
	}
}

We stored a map[string]string, but secure cookies can hold any value that can be encoded using encoding/gob. To store custom types, they must be registered first using gob.Register(). For basic types this is not needed; it works out of the box.

Imported by 741 package(s)

  1. bitbucket.org/agrewal/butler
  2. bitbucket.org/jatone/gxsrf/stores
  3. bitbucket.org/kirkmcdonald/broken
  4. bitbucket.org/plimble/ace/session
  5. bitbucket.org/plimble/controller/session
  6. code.google.com/p/gorilla/sessions
  7. euphoria.io/heim/backend
  8. git.gitorious.org/trantor/trantor.git
  9. github.com/3d0c/tmp
  10. github.com/3d0c/tmp/utils
  11. github.com/AgFlow/redistore
  12. github.com/ArturKlajnerok/go-samples/gorilla
  13. github.com/AudreyLim/go-crud
  14. github.com/BattleBoats/backend/dao
  15. github.com/BattleBoats/backend/models
  16. github.com/BenPhegan/drone/remote/github
  17. github.com/BlakeMesdag/drone/plugin/remote/github
  18. github.com/BlakeMesdag/drone/plugin/remote/gitlab
  19. github.com/BlueMasters/thymio-captain/api
  20. github.com/BnLCr/drone/remote/github
  21. github.com/BurntSushi/sqlsess
  22. github.com/ChrisRx/echo_template_tests
  23. github.com/CiscoCloud/drone/remote/github
  24. github.com/Compufreak345/redistore
  25. github.com/DHowett/ghostbin
  26. github.com/Dataman-Cloud/drone/remote/github
  27. github.com/DeltaMMO/datastore-store
  28. github.com/Depado/ginAuth
  29. github.com/DualSpark/drone/plugin/remote/github
  30. github.com/DualSpark/drone/plugin/remote/gitlab
  31. github.com/DuoSRX/redistore
  32. github.com/EasternACM/Hub/login
  33. github.com/EnumApps/clustersqlstore
  34. github.com/EnumApps/sessions
  35. github.com/EricChiang/oidc/oidcproxy
  36. github.com/EricLagerg/pnwconference/auth
  37. github.com/Ferguzz/strava-prchecker
  38. github.com/Forestmb/power-league
  39. github.com/FraBle/SocialVibes-AppEngine/socialvibes/handler
  40. github.com/FraBle/gochat/handler
  41. github.com/FraBle/piledroid/handler
  42. github.com/FraBle/sparkdo
  43. github.com/G-pu/securecookie/fuzz
  44. github.com/G-pu/sessions
  45. github.com/GerardSoleCa/PubKeyManager/server
  46. github.com/GoIncremental/negroni-sessions/dalstore
  47. github.com/GoIncremental/negroni-sessions/mongostore
  48. github.com/GopherGala/card_sharp/config
  49. github.com/GopherGala/card_sharp/lobby
  50. github.com/HinaKaze/FRGMWebServer
  51. github.com/Hokutosei/newsAggregator/modules/security
  52. github.com/Iceyer/gutils/session
  53. github.com/Ishukone/codetainer
  54. github.com/JNPRAutomate/LogBuddy
  55. github.com/Jackong/morning-dairy/service
  56. github.com/JoergReinhardt/gorilla/sessions
  57. github.com/JonahBraun/gorilla_keys
  58. github.com/KNQ/oauthmw
  59. github.com/KNQ/sessionmw
  60. github.com/LeKovr/elsa-auth/psw
  61. github.com/LeKovr/elsa-auth/sms
  62. github.com/Lealen/mysqlstore
  63. github.com/Luzifer/gobuilder
  64. github.com/MJDSys/boltstore/store
  65. github.com/MJDSys/eimbu/backend
  66. github.com/Manwe23/TheGame/packages/src/github.com/gorilla/sessions
  67. github.com/MetalMatze/drone/server
  68. github.com/MikeyRobby/CIT-90-DATA-DRIVEN-WEBSITES-2015-FALL/00_SVCC/GorillaSecure
  69. github.com/MorpheusXAUT/eveauth/session
  70. github.com/MorpheusXAUT/evepos/session
  71. github.com/MorpheusXAUT/lootsheeter
  72. github.com/MorpheusXAUT/redistore
  73. github.com/Mparaiso/gonews/core
  74. github.com/MrDustpan/go-samples/testy
  75. github.com/My-Sign/HappyNgine
  76. github.com/OVYA/sessions
  77. github.com/OlafRadicke/journey/authentication
  78. github.com/Orbittman/timeoff/authentication
  79. github.com/Ozzadar/klouds-orig/controllers
  80. github.com/PhilmacFLy/nerdorder
  81. github.com/Pitt-CSC/icarus-backend/auth
  82. github.com/PuerkitoBio/csrf
  83. github.com/PuerkitoBio/ghost/handlers
  84. github.com/Pursuit92/adnebulae/an-server
  85. github.com/Putoke/Inetproj/controllers
  86. github.com/SaiCharanMahadevan/HackerNewsClientBackend
  87. github.com/SaiCharanMahadevan/HackerNewsClient_Backend
  88. github.com/Snorlock/sessions
  89. github.com/StableLib/gorilla-sessions
  90. github.com/SunspotsEU/rethinkstore
  91. github.com/SvenDowideit/codetainer
  92. github.com/Term1nal/kittens
  93. github.com/TheOnly92/morioka/infrastructure
  94. github.com/Tobscher/drone/plugin/remote/github
  95. github.com/Tobscher/drone/plugin/remote/gitlab
  96. github.com/Victorystick/authprox
  97. github.com/Wayt/HappyNgine
  98. github.com/WithGJR/song-finder/server
  99. github.com/Wombats/wombat-server
  100. github.com/Xenograph/sessions
  101. github.com/ZacharyJacobCollins/Go-Login
  102. github.com/Zephyyrr/authprox
  103. github.com/aclindsa/moneygo
  104. github.com/aclindsa/togodo
  105. github.com/acsellers/journey/authentication
  106. github.com/admpub/boltstore/store
  107. github.com/admpub/redistore
  108. github.com/admpub/sessions
  109. github.com/adpalmer/sessions
  110. github.com/ahare/redistore
  111. github.com/ahsanulhaque/dynocator/dyno
  112. github.com/alankm/vorteil/core
  113. github.com/alarky/isucon3_qual_go
  114. github.com/alarky/isucon3_qual_go/sessions
  115. github.com/alvalea/alvalea-go-app/lib/auth/cookie
  116. github.com/amlwwalker/gophish/auth
  117. github.com/andboson/qor-admin-test/config/auth
  118. github.com/aneshas/journey/authentication
  119. github.com/antonikonovalov/drone/plugin/remote/github
  120. github.com/antonikonovalov/drone/plugin/remote/gitlab
  121. github.com/antonlindstrom/pgstore
  122. github.com/anweiss/drone/plugin/remote/github
  123. github.com/anweiss/drone/plugin/remote/gitlab
  124. github.com/apologue-dot-net/heim/backend
  125. github.com/aqtrans/ctx-csrf
  126. github.com/aqtrans/goauth
  127. github.com/arponr/talk
  128. github.com/arponr/yoneda/socket
  129. github.com/asdine/drone/plugin/remote/github
  130. github.com/astub/WebStartGo
  131. github.com/astub/pfm
  132. github.com/audreylim/go-crud
  133. github.com/ausrasul/jwt
  134. github.com/avesanen/blog
  135. github.com/awellock/ui-for-docker
  136. github.com/aykutaras/drone/plugin/remote/github
  137. github.com/aykutaras/drone/plugin/remote/gitlab
  138. github.com/badoet/journey/authentication
  139. github.com/bcooksey/Frontline
  140. github.com/bcspragu/Gobots
  141. github.com/bcspragu/Radiotation
  142. github.com/bearded-web/bearded/pkg/filters
  143. github.com/benbjohnson/rationl
  144. github.com/benschumacher/drone/server
  145. github.com/benschumacher/drone/yaml/transform
  146. github.com/billyogat/journey/authentication
  147. github.com/blang/posty/src/posty
  148. github.com/blang/posty/src/posty/oidc/example
  149. github.com/blckur/blckur/session
  150. github.com/boj/redistore
  151. github.com/boj/rethinkstore
  152. github.com/boj/riakstore
  153. github.com/boj/sessions
  154. github.com/boki/csrf
  155. github.com/bradleypeabody/gorilla-sessions-memcache
  156. github.com/bradrydzewski/drone/server
  157. github.com/braindev/negroni-sessions/dalstore
  158. github.com/braindev/negroni-sessions/mongostore
  159. github.com/bramvdbogaerde/heim/backend
  160. github.com/brewinvaz/agile-metrics/src/controllers
  161. github.com/britishgreenworm/webtemplate
  162. github.com/brycereitano/tangelo/auth
  163. github.com/burl/drone/server
  164. github.com/burl/drone/yaml/transform
  165. github.com/burtgulash/teplydatel/server
  166. github.com/byxorna/drone/plugin/remote/github
  167. github.com/byxorna/drone/plugin/remote/gitlab
  168. github.com/c4pt0r/channelhub
  169. github.com/captncraig/easyauth
  170. github.com/celeskyking/codetainer
  171. github.com/centrifugal/centrifugo/libcentrifugo
  172. github.com/chango/drone/plugin/remote/github
  173. github.com/cjslep/buv
  174. github.com/clarkezone/retwis-api-go
  175. github.com/clarkezone/retwis-go
  176. github.com/cless/sessions
  177. github.com/cloudway/platform/console/auth
  178. github.com/cmars/affinity/examples/openid-demo
  179. github.com/codequest-eu/pleasesquash.me/state
  180. github.com/codetainerapp/codetainer
  181. github.com/colegion/contrib/controllers/sessions
  182. github.com/colinn/dynamodbstore
  183. github.com/colorsocean/httpx
  184. github.com/cosmoshq/drone/plugin/remote/github
  185. github.com/cosmoshq/drone/plugin/remote/gitlab
  186. github.com/couchbaselabs/cbugg
  187. github.com/couchbaselabs/consolio
  188. github.com/cpalone/heim/backend
  189. github.com/crankycoder/FindMyDevice/wmf
  190. github.com/crantok/sessions
  191. github.com/cryptix/trakting
  192. github.com/cryptix/trakting/store
  193. github.com/cswank/gadgetsweb
  194. github.com/cswank/gadgetsweb/auth
  195. github.com/cswank/quimby
  196. github.com/cvvs/httpmiddleware/auth
  197. github.com/cyarie/tinyplannr-api
  198. github.com/cyarie/tinyplannr-api-v2/api
  199. github.com/cyarie/tinyplannr-api-v2/api/settings
  200. github.com/dalu/sessions
  201. github.com/dancannon/gonews/core/lib
  202. github.com/dancannon/gonews/web/controllers
  203. github.com/dancannon/gonews/web/middleware
  204. github.com/daragao/goUntitled/auth
  205. github.com/davars/sohop
  206. github.com/davars/sohop/auth
  207. github.com/davars/sohop/store
  208. github.com/dave-tucker/drone/plugin/remote/github
  209. github.com/davegreen200/core/app
  210. github.com/davegreen200/jamlib/router
  211. github.com/dblokhin/webapp/context
  212. github.com/dcondomitti/drone/plugin/remote/github
  213. github.com/dcondomitti/drone/plugin/remote/gitlab
  214. github.com/dearing/blog
  215. github.com/denizeren/dynamostore
  216. github.com/denizeren/negroni-sessions/dalstore
  217. github.com/denizeren/negroni-sessions/mongostore
  218. github.com/denizeren/sessions
  219. github.com/depado/ginAuth
  220. github.com/desertbit/bitmonster/auth
  221. github.com/desertbit/bulldozer/sessions
  222. github.com/dghubble/sessions
  223. github.com/dhowett/ghostbin
  224. github.com/didiercrunch/onepixel/data
  225. github.com/digibib/folk_deprecated
  226. github.com/disintegration/quiet
  227. github.com/dmikalova/strava-api
  228. github.com/dominicphillips/redistore
  229. github.com/dominicphillips/sessions
  230. github.com/dorajistyle/goyangi/service/userService
  231. github.com/drathier/couchbasestore
  232. github.com/drbawb/babou/lib/session
  233. github.com/drone/drone-exec/yaml/transform
  234. github.com/drone/drone/server
  235. github.com/drone/drone/yaml/transform
  236. github.com/dsoprea/go-appengine-sessioncascade
  237. github.com/dsoprea/goappenginesessioncascade
  238. github.com/dutchcoders/ghost/handlers
  239. github.com/dutok/retwis-go
  240. github.com/dworld/xingyun
  241. github.com/dyv/databases
  242. github.com/easykoo/go-blog/middleware
  243. github.com/echa/redistore
  244. github.com/echlebek/csrf
  245. github.com/eclewlow/Go-HttpServer
  246. github.com/edmoz/FindMyDevice/wmf
  247. github.com/edvakf/isu3pre/go
  248. github.com/egonelbre/sessions
  249. github.com/ejamesc/goblawg-test/cmd
  250. github.com/ejcx/G2B2
  251. github.com/ekkapob/buybits
  252. github.com/elico/securecookie/fuzz
  253. github.com/eliquious/core
  254. github.com/elithrar/csrf
  255. github.com/elithrar/cyboard/cmd
  256. github.com/elithrar/mongostore
  257. github.com/elithrar/pgstore
  258. github.com/elithrar/redistore
  259. github.com/elithrar/rethinkstore
  260. github.com/elithrar/sessions
  261. github.com/elliotf/drone/server
  262. github.com/elliotf/drone/yaml/transform
  263. github.com/elos-retired/httpserver
  264. github.com/elos/ehttp/builtin
  265. github.com/elos/httpserver
  266. github.com/ericchiang/oidc/oidcproxy
  267. github.com/erik8/securecookie/fuzz
  268. github.com/escribano/affinity/examples/openid-demo
  269. github.com/etherealmachine/pilot
  270. github.com/etix/drone/plugin/remote/github
  271. github.com/etix/drone/plugin/remote/gitlab
  272. github.com/euphoria-io/heim/backend
  273. github.com/ewhal/Todolist
  274. github.com/fabian-z/webauth-ssh-go
  275. github.com/farazdagi/centrifugo/libcentrifugo
  276. github.com/fedesog/cfs/cfs-server
  277. github.com/flavioribeiro/drone/server
  278. github.com/flavioribeiro/drone/yaml/transform
  279. github.com/flexd/csrf
  280. github.com/freeformz/centrifugo/libcentrifugo
  281. github.com/future-challenger/journey/authentication
  282. github.com/futurez/drone/remote/github
  283. github.com/fxnn/gone/authenticator
  284. github.com/gaego/session
  285. github.com/gaocegege/drone/server
  286. github.com/gaorx/wee
  287. github.com/gernest/aurora
  288. github.com/gernest/hero
  289. github.com/gernest/pgstore
  290. github.com/gernest/warlock
  291. github.com/gernest/wuxia/session
  292. github.com/gernest/zedlist/modules/session
  293. github.com/ggriffiniii/googleauth
  294. github.com/gigawattio/go-commons/pkg/web/cookieauth
  295. github.com/gigawattio/web/cookieauth
  296. github.com/go-authboss/authboss-sample
  297. github.com/go-floki/sessions
  298. github.com/go-gem/sessions
  299. github.com/go-playground/mongostore
  300. github.com/goaltools/contrib/controllers/sessions
  301. github.com/gocontrib/auth
  302. github.com/godeep/centrifugo/libcentrifugo
  303. github.com/goincremental/negroni-sessions/dalstore
  304. github.com/goincremental/negroni-sessions/mongostore
  305. github.com/goji/csrf
  306. github.com/goji/ctx-csrf
  307. github.com/gomango/oidc
  308. github.com/gomango/spx
  309. github.com/goodsign/sessions
  310. github.com/google/skia-buildbot/go/login
  311. github.com/gophergala/card_sharp/config
  312. github.com/gophergala/card_sharp/lobby
  313. github.com/gophergala/sqldump
  314. github.com/gophergala2016/Gobots
  315. github.com/gophish/gophish/auth
  316. github.com/gordyf/GoPersonaDemo/personaauth
  317. github.com/gorilla/csrf
  318. github.com/gorilla/securecookie/fuzz
  319. github.com/gorilla/sessions
  320. github.com/gotstago/go-tarabish/lib
  321. github.com/greenpdx/gowss/gows/auth
  322. github.com/gregory90/drone/server/session
  323. github.com/gsempe/retwis-go
  324. github.com/guus-vanweelden/zedlist/modules/session
  325. github.com/han2015/sessions
  326. github.com/harborapp/harbor-api/model
  327. github.com/haste/tiers/model
  328. github.com/hawx/uberich/cookies
  329. github.com/hc5duke/bones/web/sessions
  330. github.com/heia-fr/thymio-captain/api
  331. github.com/helmi03/ghost/handlers
  332. github.com/henkman/exquisitecode
  333. github.com/heridev/gophergala_repositories/sqldump
  334. github.com/hipinion/elysium/src
  335. github.com/hkjn/drone/plugin/remote/github
  336. github.com/hkjn/drone/plugin/remote/gitlab
  337. github.com/hlawrenz/pgstore
  338. github.com/hnakamur/gaesessions
  339. github.com/hoysoft/JexGO/sessions
  340. github.com/humboldtux/card_sharp/config
  341. github.com/humboldtux/card_sharp/lobby
  342. github.com/inge4pres/web_community/frontend
  343. github.com/ins429/futbol-cards
  344. github.com/internavenue/unlinked.in/server
  345. github.com/ipfans/fastsessions
  346. github.com/ivanarandjelovic/savet5/web
  347. github.com/jackmanlabs/webstack/habitat
  348. github.com/jamesmillerio/YNAWB
  349. github.com/jandre/codetainer
  350. github.com/janekolszak/rethinkstore
  351. github.com/jannispinter/kruemelmonster
  352. github.com/janos/sessions/boltstore
  353. github.com/janos/sessions/leveldbstore
  354. github.com/janos/sessions/sqlstore
  355. github.com/jawr/pgstore
  356. github.com/jbaikge/ingress-inventory
  357. github.com/jcbwlkr/cqlstore
  358. github.com/jcbwlkr/pgstore
  359. github.com/jdamick/drone/server
  360. github.com/jdamick/drone/yaml/transform
  361. github.com/jen20/drone/remote/github
  362. github.com/jeremyschlatter/email-viewer
  363. github.com/jhillyerd/inbucket/httpd
  364. github.com/jllopis/boltstore/store
  365. github.com/jllopis/try5/api
  366. github.com/jllopis/try5/cmd/try5d
  367. github.com/joeybloggs/mongo-session-store
  368. github.com/joeybloggs/mongostore
  369. github.com/johnsto/csrf
  370. github.com/johnsto/go-passwordless
  371. github.com/johnsto/go-passwordless/example
  372. github.com/johnwchadwick/drone/server
  373. github.com/johnwchadwick/drone/yaml/transform
  374. github.com/johnweldon/dashboard.jwss.co
  375. github.com/joinmytalk/satsuma
  376. github.com/joncody/rtgo
  377. github.com/joonazan/go-opas/palvelin
  378. github.com/jordan-wright/gophish/auth
  379. github.com/jrbudnack/shield/supervisor
  380. github.com/jrconlin/FindMyDevice/wmf
  381. github.com/jrossi/drone/plugin/remote/github
  382. github.com/jrtabu/sessions
  383. github.com/jrwren/kittens
  384. github.com/jsimnz/redistore
  385. github.com/jstemmer/sqlstore
  386. github.com/julienc91/heygo/views
  387. github.com/junhsieh/csrf
  388. github.com/k2wanko/drone/remote/github
  389. github.com/kabukky/journey/authentication
  390. github.com/kameleon83/referentiel-go/controllers
  391. github.com/kapilt/drone/remote/github
  392. github.com/keep94/ramstore
  393. github.com/kempchee/GoEmberWebsockets
  394. github.com/kempchee/WashSales/controllers
  395. github.com/kempchee/washsales/controllers
  396. github.com/kenng/authboss-sample
  397. github.com/kenshinx/gophish/auth
  398. github.com/khirayama/go-training/login
  399. github.com/kidstuff/WebAuth/auth
  400. github.com/kidstuff/WebAuth/auth/mgoauth
  401. github.com/kidstuff/auth
  402. github.com/kidstuff/auth-example/server
  403. github.com/kidstuff/auth-mongo-mngr
  404. github.com/kidstuff/auth/authmodel
  405. github.com/kidstuff/mongostore
  406. github.com/kidstuff/sessions
  407. github.com/kimiazhu/golib/sessions/mysqlstore
  408. github.com/kirubasankars/serve4/serve
  409. github.com/kisielk/sessions
  410. github.com/kitcambridge/FindMyDevice/wmf
  411. github.com/kjk/apptranslator
  412. github.com/kjk/fofou
  413. github.com/kjk/web-blog
  414. github.com/klauspost/centrifugo/libcentrifugo
  415. github.com/kleister/kleister-api/model
  416. github.com/knq/oauthmw
  417. github.com/knq/sessionmw
  418. github.com/kofj/drone/server
  419. github.com/kofj/drone/yaml/transform
  420. github.com/kortemy/journey/authentication
  421. github.com/kouphax/dopi
  422. github.com/kpernyer/drone/plugin/remote/github
  423. github.com/kpernyer/drone/plugin/remote/gitlab
  424. github.com/kri5/drone/remote/github
  425. github.com/leyra/sessions
  426. github.com/ligadous/gophish/auth
  427. github.com/lighthouse/lighthouse/session
  428. github.com/linkeddata/gold
  429. github.com/lins05/drone/plugin/remote/github
  430. github.com/lins05/drone/plugin/remote/gitlab
  431. github.com/lins05/drone/server/session
  432. github.com/liudch/go-blog/middleware
  433. github.com/liwp-stephen/apptranslator
  434. github.com/lmjohns3/go-quantified
  435. github.com/logan/heim/backend
  436. github.com/logindave/voting-system/login
  437. github.com/lolilo/Golang_functionality/src
  438. github.com/lowstz/drone/plugin/remote/github
  439. github.com/lukevers/chitchat
  440. github.com/lxfontes/go-web/sessions
  441. github.com/m-b-/auth/cookie
  442. github.com/m-b-/auth/example
  443. github.com/m-b-/tags
  444. github.com/m-b-/www-base
  445. github.com/maddyonline/apptranslator
  446. github.com/makyo/affinity/examples/openid-demo
  447. github.com/marcelolima/leasing_contract_generator/src/controller
  448. github.com/marcie001/mizumanju
  449. github.com/margic/origin/pkg/auth/server/session
  450. github.com/markmandel/recommendation-neo4j/lib
  451. github.com/mattbostock/leavediary
  452. github.com/mattbostock/leavediary/middleware/sessions
  453. github.com/mattyw/affinity/examples/openid-demo
  454. github.com/mcervco/MiguelCervantesCo/services
  455. github.com/mephux/envdb/envdb
  456. github.com/methane/isucon3-qual-go
  457. github.com/methane/isucon3-qual-go/sessions
  458. github.com/mgenware/gorilla-sessions
  459. github.com/michaeljs1990/sqlitestore
  460. github.com/mickelsonm/gophish/auth
  461. github.com/mikesouthron/reporting
  462. github.com/mikkeloscar/gokumail
  463. github.com/mikkeloscar/maze-repo/controller
  464. github.com/mikkeloscar/maze/controller
  465. github.com/mikkeloscar/maze/remote/github
  466. github.com/miquella/rethinkdb_session_store
  467. github.com/mkasner/negroni-sessions
  468. github.com/mmanjoura/qor-example/config/auth
  469. github.com/momer/auth
  470. github.com/morpheusxaut/eveauth/session
  471. github.com/morpheusxaut/evepos/session
  472. github.com/morpheusxaut/lootsheeter
  473. github.com/morpheusxaut/redistore
  474. github.com/movableink/drone/plugin/remote/github
  475. github.com/mozilla-services/FindMyDevice/wmf
  476. github.com/mparaiso/gonews/core
  477. github.com/mpopova/BMI-manager
  478. github.com/msurdi/oauthproxy/server
  479. github.com/mt2d2/forum
  480. github.com/mwmahlberg/sessionmw
  481. github.com/mxmCherry/trafficrouter
  482. github.com/mxmCherry/trafficrouter/trafficrouter
  483. github.com/my-sign/HappyNgine
  484. github.com/my-sign/happyngine
  485. github.com/nabeken/gorilla-sessions-dynamodb/dynamostore
  486. github.com/nak3/drone/server
  487. github.com/nathandao/neo4jstore
  488. github.com/neko-contrib/sessions
  489. github.com/nesv/cassandrastore
  490. github.com/news-ai/gaesessions
  491. github.com/ngConsulti/affinity/examples/openid-demo
  492. github.com/ngtrimble/loiter/backend
  493. github.com/nickswift/dispatch
  494. github.com/nickswift/dispatch/cookies
  495. github.com/nictuku/mothership/login
  496. github.com/nim4/DBShield/dbshield/httpserver
  497. github.com/nise-nabe/isucon2013-go
  498. github.com/nise-nabe/isucon2013-go/sessions
  499. github.com/nixwaro/eveauth/session
  500. github.com/njdup/wakeup-call-backend
  501. github.com/nkozyra/elysium/src
  502. github.com/nucleardump/go-wires-old/models
  503. github.com/nucleardump/go-wires/models
  504. github.com/nucleartide/go-wires/models
  505. github.com/nucleartide/mango/models
  506. github.com/oesmith/agr/auth
  507. github.com/omeid/redistore
  508. github.com/oov/gothic
  509. github.com/oov/sessions/cookie
  510. github.com/openshift/origin/pkg/auth/server/session
  511. github.com/orian/authboss-sample
  512. github.com/ozzadar/klouds-orig/controllers
  513. github.com/papplampe/exquisitecode
  514. github.com/patrickToca/bones/repositories
  515. github.com/patrickjr/poker2/controllers
  516. github.com/peacekeeper/debian-gold
  517. github.com/peacekeeper/golang-github-gorilla-securecookie-dev/fuzz
  518. github.com/pelmers/autocompeter
  519. github.com/pereztr5/cyboard/server
  520. github.com/pereztr5/gophish/auth
  521. github.com/peterbe/autocompeter
  522. github.com/peterskeide/bones/web/sessions
  523. github.com/philboltt/postgrestore
  524. github.com/phonkee/redistore
  525. github.com/pilu/drone/plugin/remote/github
  526. github.com/piotrrojek/goyangi/service/userService
  527. github.com/pkallos/persona/example
  528. github.com/polyglottis/platform/frontend/handle
  529. github.com/prezi/dashboard-controller/src/website/session
  530. github.com/projectatomic/atomic-enterprise/pkg/auth/server/session
  531. github.com/puerkitoBio/csrf
  532. github.com/puerkitoBio/ghost/handlers
  533. github.com/puerkitobio/csrf
  534. github.com/puerkitobio/ghost/handlers
  535. github.com/pyos/webmcast
  536. github.com/qor/qor-example/config/auth
  537. github.com/qorio/omni/http
  538. github.com/quadr/renian-board/board
  539. github.com/quexer/sessions
  540. github.com/radioinmyhead/ginAuth
  541. github.com/rageix/ginAuth
  542. github.com/rastech/godoc/frontend
  543. github.com/rayark/osecure
  544. github.com/rayleyva/apptranslator
  545. github.com/rbin/cbugg
  546. github.com/rcadena/sessions
  547. github.com/rdallman/flaming-wookie
  548. github.com/reflexionhealth/vanilla/httpserver/stack
  549. github.com/reinbach/drone/plugin/remote/github
  550. github.com/reinbach/drone/plugin/remote/gitlab
  551. github.com/restgo/session
  552. github.com/retro486/go-asset-repo/auth
  553. github.com/rhomel/webauth
  554. github.com/richard-lyman/edit
  555. github.com/richardbowden/autocompeter
  556. github.com/rics3n/drone/plugin/remote/github
  557. github.com/rics3n/drone/plugin/remote/gitlab
  558. github.com/rjourde/go.authentication/helpers
  559. github.com/rjourde/udacity.cs253.go/controllers
  560. github.com/rjourde/udacity.cs253.go/tools
  561. github.com/rkusa/gold
  562. github.com/robdimsdale/garagepi
  563. github.com/robdimsdale/garagepi/middleware
  564. github.com/robdimsdale/garagepi/web/login
  565. github.com/robobluebird/stop-and-golang
  566. github.com/robxu9/kahinah
  567. github.com/roth1002/drone/plugin/remote/github
  568. github.com/roth1002/drone/plugin/remote/gitlab
  569. github.com/royburns/go-blog/middleware
  570. github.com/ruizu/negroni-sessions/dalstore
  571. github.com/ruizu/negroni-sessions/mongostore
  572. github.com/rychipman/gold
  573. github.com/saces/drone/server
  574. github.com/sam-arch/mymindfulness
  575. github.com/samuelrayment/authatron
  576. github.com/sauerbraten/persona/example
  577. github.com/sbadakhc/origin/pkg/auth/server/session
  578. github.com/scord/goblog
  579. github.com/scrapinghub/drone/plugin/remote/github
  580. github.com/scrapinghub/drone/plugin/remote/gitlab
  581. github.com/sdd330/drone/plugin/remote/github
  582. github.com/sdd330/drone/plugin/remote/gitlab
  583. github.com/seanpowell/repor
  584. github.com/seedboxtech/goauthorizer
  585. github.com/sekhat/simpleauth
  586. github.com/sgotti/drone/plugin/remote/github
  587. github.com/shampur/etcdstore
  588. github.com/shampur/objdbstore
  589. github.com/shicky/go-gorilla-skeleton
  590. github.com/shicky/gowebterm/app
  591. github.com/shopsmart/autocompeter
  592. github.com/shuaiming/mung/middlewares/sessions
  593. github.com/sikang99/goyangi/service/userService
  594. github.com/silverweed/mabel/src
  595. github.com/sipin/xingyun
  596. github.com/sisatech/misc/handler
  597. github.com/sisatech/vorteil-server/server
  598. github.com/sivel/keyster
  599. github.com/skatsuta/codetainer
  600. github.com/skyjia/sessions
  601. github.com/slimsag/csrf
  602. github.com/solderapp/solder-api/model
  603. github.com/solderapp/solder/model
  604. github.com/songofhack/gophish/auth
  605. github.com/sore0159/golang-app-auth
  606. github.com/sourcegraph/track
  607. github.com/specode/journey/authentication
  608. github.com/sprt/photofind
  609. github.com/sridif/sessions
  610. github.com/srinathgs/couchbasestore
  611. github.com/srinathgs/mysqlstore
  612. github.com/stackdocker/http-session-redis-sentinel-backend
  613. github.com/stackdocker/http-session-redis-sentinel-backend/wui
  614. github.com/stancarney/gowork
  615. github.com/starJammer/gorilla-sessions-arangodb
  616. github.com/starJammer/sessions
  617. github.com/starkandwayne/shield/supervisor
  618. github.com/steventianhao/sslot/web
  619. github.com/strk/drone/server
  620. github.com/strk/drone/yaml/transform
  621. github.com/strukturag/spreed-webrtc/go/channelling
  622. github.com/stuartfenton/mgosessions
  623. github.com/sumohammed/Go-login-system-
  624. github.com/sunspots/rethinkstore
  625. github.com/superordinate/klouds/controllers
  626. github.com/svarlamov/gophish/auth
  627. github.com/swanwish/go-common/web
  628. github.com/swsnider/mysqlstore
  629. github.com/systems-united-navy/tspm
  630. github.com/tappleby/slack_auth_proxy
  631. github.com/tchap/securecookie/fuzz
  632. github.com/tchap/steemwatch/server
  633. github.com/tconley1428/gogoban/users
  634. github.com/term1nal/kittens
  635. github.com/theaidem/aerostore
  636. github.com/therainingmonkey/ScrambledSpiritsCMS/auth
  637. github.com/thesyncim/auth
  638. github.com/thesyncim/auth-mongo-mngr
  639. github.com/thesyncim/auth/authmodel
  640. github.com/tobbysembiring/gophish/auth
  641. github.com/tobert/cassandra-summit-cfp-review
  642. github.com/tomkwok/journey/authentication
  643. github.com/tonto/journey/authentication
  644. github.com/torfuzx/journey/authentication
  645. github.com/tortuoise/sessions
  646. github.com/towski/dwarfomatic
  647. github.com/tpjg/RadiusAuthProxy
  648. github.com/trantor-library/trantor
  649. github.com/trapple/isucon3/webapp/go
  650. github.com/trapple/isucon3/webapp/go/sessions
  651. github.com/trevorprater/journey/authentication
  652. github.com/trihatmaja/goyangi/service/userService
  653. github.com/troyxmccall/goblahg/authentication
  654. github.com/troyxmccall/gophish/auth
  655. github.com/tsiminiya/csrf
  656. github.com/turgay/heybe
  657. github.com/twinj/journey/authentication
  658. github.com/umschlag/umschlag-api/model
  659. github.com/unitrans/unitrans
  660. github.com/unixpickle/1mage.us
  661. github.com/unixpickle/goule
  662. github.com/unixpickle/jobempire
  663. github.com/urakozz/transpoint.io
  664. github.com/vanackere/pgstore
  665. github.com/vanackere/sessions
  666. github.com/variadico/pqstore
  667. github.com/victorystick/authprox
  668. github.com/vincentserpoul/moma/auth
  669. github.com/vinitkumar/journey/authentication
  670. github.com/vitalie/negroni-sessions/dalstore
  671. github.com/vitalie/negroni-sessions/mongostore
  672. github.com/vjscjp/api4/core/server
  673. github.com/vladvelici/sessions
  674. github.com/vsheffer/drone/plugin/remote/github
  675. github.com/vsheffer/drone/plugin/remote/gitlab
  676. github.com/wader/gormstore
  677. github.com/waniji/isucon3-yosen/go
  678. github.com/wayt/HappyNgine
  679. github.com/wayt/happyngine
  680. github.com/weaveworks/ghost/handlers
  681. github.com/webhippie/harbor/model
  682. github.com/webx-top/echo/middleware/session
  683. github.com/webx-top/echo/middleware/session/engine/cookie
  684. github.com/webx-top/webx
  685. github.com/whitney/auth
  686. github.com/wizarddewhite/web-blog
  687. github.com/wkj/sessions
  688. github.com/wrouesnel/drone/remote/github
  689. github.com/wscherphof/secure
  690. github.com/wujiang/chatable
  691. github.com/xiaoenai/xingyun
  692. github.com/xiris/drone/server
  693. github.com/xiris/drone/yaml/transform
  694. github.com/yanndr/GoWebApp/security
  695. github.com/yosssi/boltstore/store
  696. github.com/yosssi/xpress/app/models
  697. github.com/yuriyklepikov/sessions
  698. github.com/yyn1110/drone/remote/github
  699. github.com/zemirco/memorystore
  700. github.com/zephyyrr/authprox
  701. github.com/zettazete/tangelo/auth
  702. github.com/zhoukk/sessions
  703. github.com/zpas-lab/csrf
  704. github.com/zscawd12/drone/plugin/remote/github
  705. github.com/zscawd12/drone/plugin/remote/gitlab
  706. github.com/zxchris/discourse-sso-go
  707. gitlab.com/davars/sohop
  708. gitlab.com/davars/sohop/auth
  709. gitlab.com/davars/sohop/store
  710. gitlab.com/trantor/trantor/lib
  711. go.skia.org/infra/go/login
  712. gopkg.in/bluesuncorp/mongo-session-store.v1
  713. gopkg.in/bluesuncorp/mongo-session-store.v2
  714. gopkg.in/bluesuncorp/mongo-session-store.v3
  715. gopkg.in/bluesuncorp/mongo-session-store.v4
  716. gopkg.in/bluesuncorp/mongostore.v1
  717. gopkg.in/bluesuncorp/mongostore.v2
  718. gopkg.in/bluesuncorp/mongostore.v3
  719. gopkg.in/bluesuncorp/mongostore.v4
  720. gopkg.in/boj/redistore.v1
  721. gopkg.in/go-playground/mongostore.v1
  722. gopkg.in/go-playground/mongostore.v2
  723. gopkg.in/go-playground/mongostore.v3
  724. gopkg.in/go-playground/mongostore.v4
  725. gopkg.in/goanywhere/web.v0/web
  726. gopkg.in/gorilla/securecookie.v1/fuzz
  727. gopkg.in/gorilla/sessions.v0
  728. gopkg.in/gorilla/sessions.v1
  729. gopkg.in/joeybloggs/mongo-session-store.v1
  730. gopkg.in/joeybloggs/mongo-session-store.v2
  731. gopkg.in/joeybloggs/mongo-session-store.v3
  732. gopkg.in/joeybloggs/mongo-session-store.v4
  733. gopkg.in/kidstuff/WebAuth.v0/auth
  734. gopkg.in/kidstuff/WebAuth.v0/auth/mgoauth
  735. gopkg.in/kidstuff/v0/mongostore
  736. gopkg.in/kleister/kleister-api.v0/model
  737. gopkg.in/leyra/sessions.v1
  738. gorillatoolkit.org/pkg/sessions
  739. hawx.me/code/uberich/cookies
  740. resenje.org/sessions/sqlstore
  741. skia.googlesource.com/buildbot.git/go/login

Imported only in test by 7 package(s)

  1. github.com/cryptix/go/http/auth
  2. github.com/lmeunier/gorgon/app
  3. github.com/mattbostock/leavediary/handler
  4. github.com/nucleardump/go-wires/routes
  5. github.com/nucleartide/go-wires/routes
  6. github.com/nucleartide/mango/routes
  7. github.com/strukturag/spreed-webrtc/go/channelling/api