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 744 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/evanj/bqtools
  274. github.com/ewhal/Todolist
  275. github.com/fabian-z/webauth-ssh-go
  276. github.com/farazdagi/centrifugo/libcentrifugo
  277. github.com/fedesog/cfs/cfs-server
  278. github.com/flavioribeiro/drone/server
  279. github.com/flavioribeiro/drone/yaml/transform
  280. github.com/flexd/csrf
  281. github.com/freeformz/centrifugo/libcentrifugo
  282. github.com/future-challenger/journey/authentication
  283. github.com/futurez/drone/remote/github
  284. github.com/fxnn/gone/authenticator
  285. github.com/gaego/session
  286. github.com/gaocegege/drone/server
  287. github.com/gaorx/wee
  288. github.com/gernest/aurora
  289. github.com/gernest/hero
  290. github.com/gernest/pgstore
  291. github.com/gernest/warlock
  292. github.com/gernest/wuxia/session
  293. github.com/gernest/zedlist/modules/session
  294. github.com/ggriffiniii/googleauth
  295. github.com/gigawattio/go-commons/pkg/web/cookieauth
  296. github.com/gigawattio/web/cookieauth
  297. github.com/go-authboss/authboss-sample
  298. github.com/go-floki/sessions
  299. github.com/go-gem/sessions
  300. github.com/go-playground/mongostore
  301. github.com/goaltools/contrib/controllers/sessions
  302. github.com/gocontrib/auth
  303. github.com/godeep/centrifugo/libcentrifugo
  304. github.com/goincremental/negroni-sessions/dalstore
  305. github.com/goincremental/negroni-sessions/mongostore
  306. github.com/goji/csrf
  307. github.com/goji/ctx-csrf
  308. github.com/gomango/oidc
  309. github.com/gomango/spx
  310. github.com/goodsign/sessions
  311. github.com/google/skia-buildbot/go/login
  312. github.com/gophergala/card_sharp/config
  313. github.com/gophergala/card_sharp/lobby
  314. github.com/gophergala/sqldump
  315. github.com/gophergala2016/Gobots
  316. github.com/gophish/gophish/auth
  317. github.com/gordyf/GoPersonaDemo/personaauth
  318. github.com/gorilla/csrf
  319. github.com/gorilla/securecookie/fuzz
  320. github.com/gorilla/sessions
  321. github.com/gotstago/go-tarabish/lib
  322. github.com/greenpdx/gowss/gows/auth
  323. github.com/gregory90/drone/server/session
  324. github.com/gsempe/retwis-go
  325. github.com/guus-vanweelden/zedlist/modules/session
  326. github.com/han2015/sessions
  327. github.com/harborapp/harbor-api/model
  328. github.com/haste/tiers/model
  329. github.com/hawx/uberich/cookies
  330. github.com/hc5duke/bones/web/sessions
  331. github.com/heia-fr/thymio-captain/api
  332. github.com/helmi03/ghost/handlers
  333. github.com/henkman/exquisitecode
  334. github.com/heridev/gophergala_repositories/sqldump
  335. github.com/hipinion/elysium/src
  336. github.com/hkjn/drone/plugin/remote/github
  337. github.com/hkjn/drone/plugin/remote/gitlab
  338. github.com/hlawrenz/pgstore
  339. github.com/hnakamur/gaesessions
  340. github.com/hoysoft/JexGO/sessions
  341. github.com/humboldtux/card_sharp/config
  342. github.com/humboldtux/card_sharp/lobby
  343. github.com/inge4pres/web_community/frontend
  344. github.com/ins429/futbol-cards
  345. github.com/internavenue/unlinked.in/server
  346. github.com/ipfans/fastsessions
  347. github.com/ivanarandjelovic/savet5/web
  348. github.com/jackmanlabs/webstack/habitat
  349. github.com/jamesmillerio/YNAWB
  350. github.com/jandre/codetainer
  351. github.com/janekolszak/rethinkstore
  352. github.com/jannispinter/kruemelmonster
  353. github.com/janos/sessions/boltstore
  354. github.com/janos/sessions/leveldbstore
  355. github.com/janos/sessions/sqlstore
  356. github.com/jawr/pgstore
  357. github.com/jbaikge/ingress-inventory
  358. github.com/jcbwlkr/cqlstore
  359. github.com/jcbwlkr/pgstore
  360. github.com/jdamick/drone/server
  361. github.com/jdamick/drone/yaml/transform
  362. github.com/jen20/drone/remote/github
  363. github.com/jeremyschlatter/email-viewer
  364. github.com/jhillyerd/inbucket/httpd
  365. github.com/jllopis/boltstore/store
  366. github.com/jllopis/try5/api
  367. github.com/jllopis/try5/cmd/try5d
  368. github.com/joeybloggs/mongo-session-store
  369. github.com/joeybloggs/mongostore
  370. github.com/johnsto/csrf
  371. github.com/johnsto/go-passwordless
  372. github.com/johnsto/go-passwordless/example
  373. github.com/johnwchadwick/drone/server
  374. github.com/johnwchadwick/drone/yaml/transform
  375. github.com/johnweldon/dashboard.jwss.co
  376. github.com/joinmytalk/satsuma
  377. github.com/joncody/rtgo
  378. github.com/joonazan/go-opas/palvelin
  379. github.com/jordan-wright/gophish/auth
  380. github.com/jrbudnack/shield/supervisor
  381. github.com/jrconlin/FindMyDevice/wmf
  382. github.com/jrossi/drone/plugin/remote/github
  383. github.com/jrtabu/sessions
  384. github.com/jrwren/kittens
  385. github.com/jsimnz/redistore
  386. github.com/jstemmer/sqlstore
  387. github.com/julienc91/heygo/views
  388. github.com/junhsieh/csrf
  389. github.com/k2wanko/drone/remote/github
  390. github.com/kabukky/journey/authentication
  391. github.com/kameleon83/referentiel-go/controllers
  392. github.com/kapilt/drone/remote/github
  393. github.com/keep94/ramstore
  394. github.com/kempchee/GoEmberWebsockets
  395. github.com/kempchee/WashSales/controllers
  396. github.com/kempchee/washsales/controllers
  397. github.com/kenng/authboss-sample
  398. github.com/kenshinx/gophish/auth
  399. github.com/khirayama/go-training/login
  400. github.com/kidstuff/WebAuth/auth
  401. github.com/kidstuff/WebAuth/auth/mgoauth
  402. github.com/kidstuff/auth
  403. github.com/kidstuff/auth-example/server
  404. github.com/kidstuff/auth-mongo-mngr
  405. github.com/kidstuff/auth/authmodel
  406. github.com/kidstuff/mongostore
  407. github.com/kidstuff/sessions
  408. github.com/kimiazhu/golib/sessions/mysqlstore
  409. github.com/kirubasankars/serve4/serve
  410. github.com/kisielk/sessions
  411. github.com/kitcambridge/FindMyDevice/wmf
  412. github.com/kjk/apptranslator
  413. github.com/kjk/fofou
  414. github.com/kjk/web-blog
  415. github.com/klauspost/centrifugo/libcentrifugo
  416. github.com/kleister/kleister-api/model
  417. github.com/knq/oauthmw
  418. github.com/knq/sessionmw
  419. github.com/kofj/drone/server
  420. github.com/kofj/drone/yaml/transform
  421. github.com/kortemy/journey/authentication
  422. github.com/kouphax/dopi
  423. github.com/kpernyer/drone/plugin/remote/github
  424. github.com/kpernyer/drone/plugin/remote/gitlab
  425. github.com/kri5/drone/remote/github
  426. github.com/leyra/sessions
  427. github.com/ligadous/gophish/auth
  428. github.com/lighthouse/lighthouse/session
  429. github.com/linkeddata/gold
  430. github.com/lins05/drone/plugin/remote/github
  431. github.com/lins05/drone/plugin/remote/gitlab
  432. github.com/lins05/drone/server/session
  433. github.com/liudch/go-blog/middleware
  434. github.com/liwp-stephen/apptranslator
  435. github.com/lmjohns3/go-quantified
  436. github.com/logan/heim/backend
  437. github.com/logindave/voting-system/login
  438. github.com/lolilo/Golang_functionality/src
  439. github.com/lowstz/drone/plugin/remote/github
  440. github.com/lukevers/chitchat
  441. github.com/lxfontes/go-web/sessions
  442. github.com/m-b-/auth/cookie
  443. github.com/m-b-/auth/example
  444. github.com/m-b-/tags
  445. github.com/m-b-/www-base
  446. github.com/maddyonline/apptranslator
  447. github.com/makyo/affinity/examples/openid-demo
  448. github.com/marcelolima/leasing_contract_generator/src/controller
  449. github.com/marcie001/mizumanju
  450. github.com/margic/origin/pkg/auth/server/session
  451. github.com/markmandel/recommendation-neo4j/lib
  452. github.com/mattbostock/leavediary
  453. github.com/mattbostock/leavediary/middleware/sessions
  454. github.com/mattyw/affinity/examples/openid-demo
  455. github.com/mcervco/MiguelCervantesCo/services
  456. github.com/mephux/envdb/envdb
  457. github.com/methane/isucon3-qual-go
  458. github.com/methane/isucon3-qual-go/sessions
  459. github.com/mgenware/gorilla-sessions
  460. github.com/michaeljs1990/sqlitestore
  461. github.com/mickelsonm/gophish/auth
  462. github.com/mikesouthron/reporting
  463. github.com/mikkeloscar/gokumail
  464. github.com/mikkeloscar/maze-repo/controller
  465. github.com/mikkeloscar/maze/controller
  466. github.com/mikkeloscar/maze/remote/github
  467. github.com/miquella/rethinkdb_session_store
  468. github.com/mkasner/negroni-sessions
  469. github.com/mmanjoura/qor-example/config/auth
  470. github.com/momer/auth
  471. github.com/morpheusxaut/eveauth/session
  472. github.com/morpheusxaut/evepos/session
  473. github.com/morpheusxaut/lootsheeter
  474. github.com/morpheusxaut/redistore
  475. github.com/movableink/drone/plugin/remote/github
  476. github.com/mozilla-services/FindMyDevice/wmf
  477. github.com/mparaiso/gonews/core
  478. github.com/mpopova/BMI-manager
  479. github.com/msurdi/oauthproxy/server
  480. github.com/mt2d2/forum
  481. github.com/mwmahlberg/sessionmw
  482. github.com/mxmCherry/trafficrouter
  483. github.com/mxmCherry/trafficrouter/trafficrouter
  484. github.com/my-sign/HappyNgine
  485. github.com/my-sign/happyngine
  486. github.com/nabeken/gorilla-sessions-dynamodb/dynamostore
  487. github.com/nak3/drone/server
  488. github.com/nathandao/neo4jstore
  489. github.com/neko-contrib/sessions
  490. github.com/nesv/cassandrastore
  491. github.com/news-ai/gaesessions
  492. github.com/ngConsulti/affinity/examples/openid-demo
  493. github.com/ngtrimble/loiter/backend
  494. github.com/nickswift/dispatch
  495. github.com/nickswift/dispatch/cookies
  496. github.com/nictuku/mothership/login
  497. github.com/nim4/DBShield/dbshield/httpserver
  498. github.com/nise-nabe/isucon2013-go
  499. github.com/nise-nabe/isucon2013-go/sessions
  500. github.com/nixwaro/eveauth/session
  501. github.com/njdup/wakeup-call-backend
  502. github.com/nkozyra/elysium/src
  503. github.com/nucleardump/go-wires-old/models
  504. github.com/nucleardump/go-wires/models
  505. github.com/nucleartide/go-wires/models
  506. github.com/nucleartide/mango/models
  507. github.com/oesmith/agr/auth
  508. github.com/omeid/redistore
  509. github.com/oov/gothic
  510. github.com/oov/sessions/cookie
  511. github.com/openshift/origin/pkg/auth/server/session
  512. github.com/orian/authboss-sample
  513. github.com/ozzadar/klouds-orig/controllers
  514. github.com/papplampe/exquisitecode
  515. github.com/patrickToca/bones/repositories
  516. github.com/patrickjr/poker2/controllers
  517. github.com/peacekeeper/debian-gold
  518. github.com/peacekeeper/golang-github-gorilla-securecookie-dev/fuzz
  519. github.com/pelmers/autocompeter
  520. github.com/pereztr5/cyboard/server
  521. github.com/pereztr5/gophish/auth
  522. github.com/peterbe/autocompeter
  523. github.com/peterskeide/bones/web/sessions
  524. github.com/philboltt/postgrestore
  525. github.com/phonkee/redistore
  526. github.com/pilu/drone/plugin/remote/github
  527. github.com/piotrrojek/goyangi/service/userService
  528. github.com/pkallos/persona/example
  529. github.com/polyglottis/platform/frontend/handle
  530. github.com/prezi/dashboard-controller/src/website/session
  531. github.com/projectatomic/atomic-enterprise/pkg/auth/server/session
  532. github.com/puerkitoBio/csrf
  533. github.com/puerkitoBio/ghost/handlers
  534. github.com/puerkitobio/csrf
  535. github.com/puerkitobio/ghost/handlers
  536. github.com/pyos/webmcast
  537. github.com/qor/qor-example/config/auth
  538. github.com/qorio/omni/http
  539. github.com/quadr/renian-board/board
  540. github.com/quexer/sessions
  541. github.com/radioinmyhead/ginAuth
  542. github.com/rageix/ginAuth
  543. github.com/raggaer/castro
  544. github.com/rastech/godoc/frontend
  545. github.com/rayark/osecure
  546. github.com/rayleyva/apptranslator
  547. github.com/rbin/cbugg
  548. github.com/rcadena/sessions
  549. github.com/rdallman/flaming-wookie
  550. github.com/reflexionhealth/vanilla/httpserver/stack
  551. github.com/reinbach/drone/plugin/remote/github
  552. github.com/reinbach/drone/plugin/remote/gitlab
  553. github.com/restgo/session
  554. github.com/retro486/go-asset-repo/auth
  555. github.com/rhomel/webauth
  556. github.com/richard-lyman/edit
  557. github.com/richardbowden/autocompeter
  558. github.com/rics3n/drone/plugin/remote/github
  559. github.com/rics3n/drone/plugin/remote/gitlab
  560. github.com/riking/homeapi/marvin/modules/weblogin
  561. github.com/rjourde/go.authentication/helpers
  562. github.com/rjourde/udacity.cs253.go/controllers
  563. github.com/rjourde/udacity.cs253.go/tools
  564. github.com/rkusa/gold
  565. github.com/robdimsdale/garagepi
  566. github.com/robdimsdale/garagepi/middleware
  567. github.com/robdimsdale/garagepi/web/login
  568. github.com/robobluebird/stop-and-golang
  569. github.com/robxu9/kahinah
  570. github.com/roth1002/drone/plugin/remote/github
  571. github.com/roth1002/drone/plugin/remote/gitlab
  572. github.com/royburns/go-blog/middleware
  573. github.com/ruizu/negroni-sessions/dalstore
  574. github.com/ruizu/negroni-sessions/mongostore
  575. github.com/rychipman/gold
  576. github.com/saces/drone/server
  577. github.com/sam-arch/mymindfulness
  578. github.com/samuelrayment/authatron
  579. github.com/sauerbraten/persona/example
  580. github.com/sbadakhc/origin/pkg/auth/server/session
  581. github.com/scord/goblog
  582. github.com/scrapinghub/drone/plugin/remote/github
  583. github.com/scrapinghub/drone/plugin/remote/gitlab
  584. github.com/sdd330/drone/plugin/remote/github
  585. github.com/sdd330/drone/plugin/remote/gitlab
  586. github.com/seanpowell/repor
  587. github.com/seedboxtech/goauthorizer
  588. github.com/sekhat/simpleauth
  589. github.com/sgotti/drone/plugin/remote/github
  590. github.com/shampur/etcdstore
  591. github.com/shampur/objdbstore
  592. github.com/shicky/go-gorilla-skeleton
  593. github.com/shicky/gowebterm/app
  594. github.com/shopsmart/autocompeter
  595. github.com/shuaiming/mung/middlewares/sessions
  596. github.com/sikang99/goyangi/service/userService
  597. github.com/silverweed/mabel/src
  598. github.com/sipin/xingyun
  599. github.com/sisatech/misc/handler
  600. github.com/sisatech/vorteil-server/server
  601. github.com/sivel/keyster
  602. github.com/skatsuta/codetainer
  603. github.com/skyjia/sessions
  604. github.com/slimsag/csrf
  605. github.com/solderapp/solder-api/model
  606. github.com/solderapp/solder/model
  607. github.com/songofhack/gophish/auth
  608. github.com/sore0159/golang-app-auth
  609. github.com/sourcegraph/track
  610. github.com/specode/journey/authentication
  611. github.com/sprt/photofind
  612. github.com/sridif/sessions
  613. github.com/srinathgs/couchbasestore
  614. github.com/srinathgs/mysqlstore
  615. github.com/stackdocker/http-session-redis-sentinel-backend
  616. github.com/stackdocker/http-session-redis-sentinel-backend/wui
  617. github.com/stancarney/gowork
  618. github.com/starJammer/gorilla-sessions-arangodb
  619. github.com/starJammer/sessions
  620. github.com/starkandwayne/shield/supervisor
  621. github.com/steventianhao/sslot/web
  622. github.com/strk/drone/server
  623. github.com/strk/drone/yaml/transform
  624. github.com/strukturag/spreed-webrtc/go/channelling
  625. github.com/stuartfenton/mgosessions
  626. github.com/sumohammed/Go-login-system-
  627. github.com/sunspots/rethinkstore
  628. github.com/superordinate/klouds/controllers
  629. github.com/svarlamov/gophish/auth
  630. github.com/swanwish/go-common/web
  631. github.com/swsnider/mysqlstore
  632. github.com/systems-united-navy/tspm
  633. github.com/tappleby/slack_auth_proxy
  634. github.com/tchap/securecookie/fuzz
  635. github.com/tchap/steemwatch/server
  636. github.com/tconley1428/gogoban/users
  637. github.com/term1nal/kittens
  638. github.com/theaidem/aerostore
  639. github.com/therainingmonkey/ScrambledSpiritsCMS/auth
  640. github.com/thesyncim/auth
  641. github.com/thesyncim/auth-mongo-mngr
  642. github.com/thesyncim/auth/authmodel
  643. github.com/tobbysembiring/gophish/auth
  644. github.com/tobert/cassandra-summit-cfp-review
  645. github.com/tomkwok/journey/authentication
  646. github.com/tonto/journey/authentication
  647. github.com/torfuzx/journey/authentication
  648. github.com/tortuoise/sessions
  649. github.com/towski/dwarfomatic
  650. github.com/tpjg/RadiusAuthProxy
  651. github.com/trantor-library/trantor
  652. github.com/trapple/isucon3/webapp/go
  653. github.com/trapple/isucon3/webapp/go/sessions
  654. github.com/trevorprater/journey/authentication
  655. github.com/trihatmaja/goyangi/service/userService
  656. github.com/troyxmccall/goblahg/authentication
  657. github.com/troyxmccall/gophish/auth
  658. github.com/tsiminiya/csrf
  659. github.com/turgay/heybe
  660. github.com/twinj/journey/authentication
  661. github.com/umschlag/umschlag-api/model
  662. github.com/unitrans/unitrans
  663. github.com/unixpickle/1mage.us
  664. github.com/unixpickle/goule
  665. github.com/unixpickle/jobempire
  666. github.com/urakozz/transpoint.io
  667. github.com/vanackere/pgstore
  668. github.com/vanackere/sessions
  669. github.com/variadico/pqstore
  670. github.com/victorystick/authprox
  671. github.com/vincentserpoul/moma/auth
  672. github.com/vinitkumar/journey/authentication
  673. github.com/vitalie/negroni-sessions/dalstore
  674. github.com/vitalie/negroni-sessions/mongostore
  675. github.com/vjscjp/api4/core/server
  676. github.com/vladvelici/sessions
  677. github.com/vsheffer/drone/plugin/remote/github
  678. github.com/vsheffer/drone/plugin/remote/gitlab
  679. github.com/wader/gormstore
  680. github.com/waniji/isucon3-yosen/go
  681. github.com/wayt/HappyNgine
  682. github.com/wayt/happyngine
  683. github.com/weaveworks/ghost/handlers
  684. github.com/webhippie/harbor/model
  685. github.com/webx-top/echo/middleware/session
  686. github.com/webx-top/echo/middleware/session/engine/cookie
  687. github.com/webx-top/webx
  688. github.com/whitney/auth
  689. github.com/wizarddewhite/web-blog
  690. github.com/wkj/sessions
  691. github.com/wrouesnel/drone/remote/github
  692. github.com/wscherphof/secure
  693. github.com/wujiang/chatable
  694. github.com/xiaoenai/xingyun
  695. github.com/xiris/drone/server
  696. github.com/xiris/drone/yaml/transform
  697. github.com/yanndr/GoWebApp/security
  698. github.com/yosssi/boltstore/store
  699. github.com/yosssi/xpress/app/models
  700. github.com/yuriyklepikov/sessions
  701. github.com/yyn1110/drone/remote/github
  702. github.com/zemirco/memorystore
  703. github.com/zephyyrr/authprox
  704. github.com/zettazete/tangelo/auth
  705. github.com/zhoukk/sessions
  706. github.com/zpas-lab/csrf
  707. github.com/zscawd12/drone/plugin/remote/github
  708. github.com/zscawd12/drone/plugin/remote/gitlab
  709. github.com/zxchris/discourse-sso-go
  710. gitlab.com/davars/sohop
  711. gitlab.com/davars/sohop/auth
  712. gitlab.com/davars/sohop/store
  713. gitlab.com/trantor/trantor/lib
  714. go.skia.org/infra/go/login
  715. gopkg.in/bluesuncorp/mongo-session-store.v1
  716. gopkg.in/bluesuncorp/mongo-session-store.v2
  717. gopkg.in/bluesuncorp/mongo-session-store.v3
  718. gopkg.in/bluesuncorp/mongo-session-store.v4
  719. gopkg.in/bluesuncorp/mongostore.v1
  720. gopkg.in/bluesuncorp/mongostore.v2
  721. gopkg.in/bluesuncorp/mongostore.v3
  722. gopkg.in/bluesuncorp/mongostore.v4
  723. gopkg.in/boj/redistore.v1
  724. gopkg.in/go-playground/mongostore.v1
  725. gopkg.in/go-playground/mongostore.v2
  726. gopkg.in/go-playground/mongostore.v3
  727. gopkg.in/go-playground/mongostore.v4
  728. gopkg.in/goanywhere/web.v0/web
  729. gopkg.in/gorilla/securecookie.v1/fuzz
  730. gopkg.in/gorilla/sessions.v0
  731. gopkg.in/gorilla/sessions.v1
  732. gopkg.in/joeybloggs/mongo-session-store.v1
  733. gopkg.in/joeybloggs/mongo-session-store.v2
  734. gopkg.in/joeybloggs/mongo-session-store.v3
  735. gopkg.in/joeybloggs/mongo-session-store.v4
  736. gopkg.in/kidstuff/WebAuth.v0/auth
  737. gopkg.in/kidstuff/WebAuth.v0/auth/mgoauth
  738. gopkg.in/kidstuff/v0/mongostore
  739. gopkg.in/kleister/kleister-api.v0/model
  740. gopkg.in/leyra/sessions.v1
  741. gorillatoolkit.org/pkg/sessions
  742. hawx.me/code/uberich/cookies
  743. resenje.org/sessions/sqlstore
  744. 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