-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from vividvilla/fix-examples
Update examples for /v2 refactor.
- Loading branch information
Showing
12 changed files
with
65 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
module github.com/vividvilla/simplesessions/examples/fasthttp-redis | ||
|
||
go 1.14 | ||
|
||
require ( | ||
github.com/alicebob/gopher-json v0.0.0-20180125190556-5a6b3ba71ee6 // indirect | ||
github.com/alicebob/miniredis v0.0.0-20180903194238-a6a1e4126522 // indirect | ||
github.com/gomodule/redigo v2.0.0+incompatible | ||
github.com/klauspost/compress v1.4.0 // indirect | ||
github.com/klauspost/cpuid v0.0.0-20180405133222-e7e905edc00e // indirect | ||
github.com/valyala/bytebufferpool v0.0.0-20160817181652-e746df99fe4a // indirect | ||
github.com/valyala/fasthttp v0.0.0-20180901052036-d7688109a57b | ||
github.com/vividvilla/simplesessions v0.0.1 | ||
github.com/vividvilla/simplesessions/stores/redis v0.0.0-20180905073812-64bb2453ba8a | ||
github.com/yuin/gopher-lua v0.0.0-20180827083657-b942cacc89fe // indirect | ||
github.com/valyala/fasthttp v1.52.0 | ||
github.com/vividvilla/simplesessions/stores/redis/v2 v2.0.0 | ||
github.com/vividvilla/simplesessions/v2 v2.0.0 | ||
) | ||
|
||
require ( | ||
github.com/andybalholm/brotli v1.1.0 // indirect | ||
github.com/klauspost/compress v1.17.6 // indirect | ||
github.com/valyala/bytebufferpool v1.0.0 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
module github.com/vividvilla/simplesessions/examples/nethttp-inmemory | ||
|
||
go 1.14 | ||
|
||
require ( | ||
github.com/vividvilla/simplesessions v0.0.1 | ||
github.com/vividvilla/simplesessions/stores/memory v0.0.0-20180905073812-64bb2453ba8a | ||
github.com/vividvilla/simplesessions/stores/memory/v2 v2.0.0 | ||
github.com/vividvilla/simplesessions/v2 v2.0.0 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
module github.com/vividvilla/simplesessions/examples/nethttp-redis | ||
|
||
go 1.14 | ||
|
||
require ( | ||
github.com/alicebob/gopher-json v0.0.0-20180125190556-5a6b3ba71ee6 // indirect | ||
github.com/alicebob/miniredis v0.0.0-20180903194238-a6a1e4126522 // indirect | ||
github.com/gomodule/redigo v2.0.0+incompatible | ||
github.com/vividvilla/simplesessions v0.0.1 | ||
github.com/vividvilla/simplesessions/stores/redis v0.0.0-20180905073812-64bb2453ba8a | ||
github.com/yuin/gopher-lua v0.0.0-20180827083657-b942cacc89fe // indirect | ||
github.com/vividvilla/simplesessions/stores/redis/v2 v2.0.0 | ||
github.com/vividvilla/simplesessions/v2 v2.0.0 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
module github.com/vividvilla/simplesessions/examples/nethttp-secure-cookie | ||
|
||
go 1.14 | ||
|
||
require ( | ||
github.com/gorilla/securecookie v1.1.1 // indirect | ||
github.com/vividvilla/simplesessions v0.0.1 | ||
github.com/vividvilla/simplesessions/stores/securecookie v0.0.0-20180905073812-64bb2453ba8a | ||
github.com/vividvilla/simplesessions/stores/securecookie/v2 v2.0.0 | ||
github.com/vividvilla/simplesessions/v2 v2.0.0 | ||
) | ||
|
||
require github.com/gorilla/securecookie v1.1.2 // indirect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
module github.com/vividvilla/simplesessions/v2 | ||
|
||
require github.com/stretchr/testify v1.9.0 | ||
require ( | ||
github.com/stretchr/testify v1.9.0 | ||
github.com/valyala/fasthttp v1.40.0 | ||
) | ||
|
||
go 1.14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
go 1.18 | ||
go 1.21 | ||
|
||
use ( | ||
. | ||
./conv | ||
./stores/goredis | ||
./stores/memory | ||
./stores/redis | ||
./stores/securecookie | ||
./stores/memory | ||
) |