Add per-context and per-action rate limiting using golang.org/x/time/rate. Configure globally via Options.ActionRateLimit or per-action with WithRateLimit(). Defaults to 10 req/s with burst of 20.
44 lines
1.6 KiB
Modula-2
44 lines
1.6 KiB
Modula-2
module github.com/ryanhamamura/via
|
|
|
|
go 1.25.4
|
|
|
|
require maragu.dev/gomponents v1.2.0
|
|
|
|
require (
|
|
github.com/DATA-DOG/go-sqlmock v1.5.2
|
|
github.com/alexedwards/scs/sqlite3store v0.0.0-20251002162104-209de6e426de
|
|
github.com/alexedwards/scs/v2 v2.9.0
|
|
github.com/delaneyj/toolbelt v0.9.1
|
|
github.com/mattn/go-sqlite3 v1.14.32
|
|
github.com/nats-io/nats.go v1.48.0
|
|
github.com/rs/zerolog v1.34.0
|
|
github.com/starfederation/datastar-go v1.0.3
|
|
github.com/stretchr/testify v1.11.1
|
|
golang.org/x/time v0.14.0
|
|
)
|
|
|
|
require (
|
|
github.com/CAFxX/httpcompression v0.0.9 // indirect
|
|
github.com/andybalholm/brotli v1.2.0 // indirect
|
|
github.com/antithesishq/antithesis-sdk-go v0.5.0 // indirect
|
|
github.com/cenkalti/backoff v2.2.1+incompatible // indirect
|
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
|
github.com/google/go-tpm v0.9.7 // indirect
|
|
github.com/klauspost/compress v1.18.2 // indirect
|
|
github.com/kr/text v0.2.0 // indirect
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/minio/highwayhash v1.0.4-0.20251030100505-070ab1a87a76 // indirect
|
|
github.com/nats-io/jwt/v2 v2.8.0 // indirect
|
|
github.com/nats-io/nats-server/v2 v2.12.2 // indirect
|
|
github.com/nats-io/nkeys v0.4.12 // indirect
|
|
github.com/nats-io/nuid v1.0.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
|
github.com/rogpeppe/go-internal v1.14.1 // indirect
|
|
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
|
golang.org/x/crypto v0.45.0 // indirect
|
|
golang.org/x/sys v0.38.0 // indirect
|
|
golang.org/x/time v0.14.0
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|