Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(license): Add MIT license to Souin #210

Merged
merged 2 commits into from
May 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2020-present Sylvain COMBRAQUE

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
OR OTHER DEALINGS IN THE SOFTWARE.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ experimental:
plugins:
souin:
moduleName: github.com/darkweak/souin
version: v1.6.7
version: v1.6.8
```
After that you can declare either the whole configuration at once in the middleware block or by service. See the examples below.
```yaml
Expand Down
4 changes: 2 additions & 2 deletions plugins/caddy/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.17

require (
github.com/caddyserver/caddy/v2 v2.5.0
github.com/darkweak/souin v1.6.7
github.com/darkweak/souin v1.6.8
go.uber.org/zap v1.21.0
)

Expand Down Expand Up @@ -160,4 +160,4 @@ require (
howett.net/plist v1.0.0 // indirect
)

replace github.com/darkweak/souin v1.6.7 => ../..
replace github.com/darkweak/souin v1.6.8 => ../..
4 changes: 2 additions & 2 deletions plugins/chi/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ module github.com/darkweak/souin/plugins/chi
go 1.16

require (
github.com/darkweak/souin v1.6.7
github.com/darkweak/souin v1.6.8
github.com/go-chi/chi/v5 v5.0.7
go.uber.org/zap v1.21.0
)

replace github.com/darkweak/souin v1.6.7 => ../..
replace github.com/darkweak/souin v1.6.8 => ../..
4 changes: 2 additions & 2 deletions plugins/dotweb/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ module github.com/darkweak/souin/plugins/dotweb
go 1.16

require (
github.com/darkweak/souin v1.6.7
github.com/darkweak/souin v1.6.8
github.com/devfeel/dotweb v1.7.19
go.uber.org/zap v1.21.0
)

replace github.com/darkweak/souin v1.6.7 => ../..
replace github.com/darkweak/souin v1.6.8 => ../..
4 changes: 2 additions & 2 deletions plugins/echo/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ module github.com/darkweak/souin/plugins/echo
go 1.16

require (
github.com/darkweak/souin v1.6.7
github.com/darkweak/souin v1.6.8
github.com/labstack/echo/v4 v4.6.1
go.uber.org/zap v1.21.0
)

replace github.com/darkweak/souin v1.6.7 => ../..
replace github.com/darkweak/souin v1.6.8 => ../..
4 changes: 2 additions & 2 deletions plugins/fiber/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ module github.com/darkweak/souin/plugins/fiber
go 1.16

require (
github.com/darkweak/souin v1.6.7
github.com/darkweak/souin v1.6.8
github.com/gofiber/fiber/v2 v2.31.0
github.com/valyala/fasthttp v1.35.0
go.uber.org/zap v1.21.0
)

replace github.com/darkweak/souin v1.6.7 => ../..
replace github.com/darkweak/souin v1.6.8 => ../..
4 changes: 2 additions & 2 deletions plugins/gin/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/darkweak/souin/plugins/gin
go 1.16

require (
github.com/darkweak/souin v1.6.7
github.com/darkweak/souin v1.6.8
github.com/gin-gonic/gin v1.7.7
go.uber.org/zap v1.21.0
)
Expand All @@ -17,4 +17,4 @@ require (
google.golang.org/protobuf v1.27.1 // indirect
)

replace github.com/darkweak/souin v1.6.7 => ../..
replace github.com/darkweak/souin v1.6.8 => ../..
4 changes: 2 additions & 2 deletions plugins/go-zero/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ module github.com/darkweak/souin/plugins/go-zero
go 1.16

require (
github.com/darkweak/souin v1.6.7
github.com/darkweak/souin v1.6.8
github.com/go-chi/chi/v5 v5.0.7
github.com/zeromicro/go-zero v1.3.2
go.uber.org/zap v1.21.0
)

replace github.com/darkweak/souin v1.6.7 => ../..
replace github.com/darkweak/souin v1.6.8 => ../..
4 changes: 2 additions & 2 deletions plugins/goyave/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ module github.com/darkweak/souin/plugins/goyave
go 1.16

require (
github.com/darkweak/souin v1.6.7
github.com/darkweak/souin v1.6.8
go.uber.org/zap v1.21.0
goyave.dev/goyave/v4 v4.2.0
)

replace github.com/darkweak/souin v1.6.7 => ../..
replace github.com/darkweak/souin v1.6.8 => ../..
4 changes: 2 additions & 2 deletions plugins/skipper/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ module github.com/darkweak/souin/plugins/skipper
go 1.16

require (
github.com/darkweak/souin v1.6.7
github.com/darkweak/souin v1.6.8
github.com/zalando/skipper v0.13.174
go.uber.org/zap v1.21.0
)

replace github.com/darkweak/souin v1.6.7 => ../..
replace github.com/darkweak/souin v1.6.8 => ../..
4 changes: 2 additions & 2 deletions plugins/traefik/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ module github.com/darkweak/souin/plugins/traefik
go 1.16

require (
github.com/darkweak/souin v1.6.7
github.com/darkweak/souin v1.6.8
github.com/patrickmn/go-cache v2.1.0+incompatible
github.com/pquerna/cachecontrol v0.1.0
go.uber.org/zap v1.21.0
)

replace github.com/darkweak/souin v1.6.7 => ../..
replace github.com/darkweak/souin v1.6.8 => ../..
4 changes: 2 additions & 2 deletions plugins/tyk/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.16

require (
github.com/TykTechnologies/tyk v2.9.5+incompatible
github.com/darkweak/souin v1.6.7
github.com/darkweak/souin v1.6.8
github.com/patrickmn/go-cache v2.1.0+incompatible
go.uber.org/zap v1.21.0
)
Expand All @@ -25,6 +25,6 @@ require (
)

replace (
github.com/darkweak/souin v1.6.7 => ../..
github.com/darkweak/souin v1.6.8 => ../..
github.com/hashicorp/terraform v1.0.1 => github.com/hashicorp/terraform v0.14.11
)
4 changes: 2 additions & 2 deletions plugins/webgo/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ go 1.16

require (
github.com/bnkamalesh/webgo/v6 v6.6.1
github.com/darkweak/souin v1.6.7
github.com/darkweak/souin v1.6.8
go.uber.org/zap v1.21.0
)

replace github.com/darkweak/souin v1.6.7 => ../..
replace github.com/darkweak/souin v1.6.8 => ../..