Skip to content

Commit

Permalink
Merge pull request #8 from andrearaponi/feature/update-go-1.23.2
Browse files Browse the repository at this point in the history
feat(go-1.23.2): updated to go 1.23.2
  • Loading branch information
andrearaponi authored Oct 27, 2024
2 parents 02cfac5 + 6080d1b commit 08319ab
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions bin/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ metrics:

# Redis configuration.
redis:
enabled: true # Enable or disable Redis caching.
enabled: false # Enable or disable Redis caching.
host: "localhost"
port: "6379"
password: "" # Leave empty if no password is required.
Expand Down Expand Up @@ -55,7 +55,7 @@ locations:
middlewares:
#- rate-limiter-redis
#- auth
#- cache
- cache
rate_limiting:
enabled: false
requests_per_second: 2
Expand Down
Binary file modified bin/dito
Binary file not shown.
4 changes: 2 additions & 2 deletions cmd/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ metrics:

# Redis configuration.
redis:
enabled: true # Enable or disable Redis caching.
enabled: false # Enable or disable Redis caching.
host: "localhost"
port: "6379"
password: "" # Leave empty if no password is required.
Expand Down Expand Up @@ -61,7 +61,7 @@ locations:
requests_per_second: 2
burst: 4
cache:
enabled: true
enabled: false
ttl: 30


Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
module dito

go 1.21.4
go 1.23.2

require (
github.com/fatih/color v1.16.0
github.com/lmittmann/tint v1.0.5
github.com/prometheus/client_golang v1.20.4
github.com/prometheus/client_model v0.6.1
github.com/redis/go-redis/v9 v9.6.1
github.com/stretchr/testify v1.9.0
golang.org/x/time v0.6.0
Expand All @@ -23,7 +24,6 @@ require (
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.55.0 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
golang.org/x/sys v0.22.0 // indirect
Expand Down

0 comments on commit 08319ab

Please sign in to comment.