Lawrence, Rendall
63e0b93db4
remove randseed package
2023-03-19 20:13:44 +03:00
Lawrence, Rendall
34c2921be8
add support for no_peer_id HTTP announce parameter
...
* remove `compact` from req/resp structures, because
it used only in HTTP and only while response write
2023-03-19 18:37:57 +03:00
Lawrence, Rendall
24c1539583
restore udp queryParams implementation
...
* fix lint warnings
2023-03-18 19:38:14 +03:00
Lawrence, Rendall
da7de52813
change httprouter with fasthttp and simple handler
...
* add http benchmark
* move HTTP query parameters parsing to http subpackage
* update dependencies
2023-03-18 00:58:35 +03:00
Lawrence, Rendall
e5039131b3
update dependencies
2023-03-03 12:53:35 +03:00
SOT-TECH
98ba900f3e
Merge pull request #32 from sot-tech/dependabot/go_modules/github.com/jackc/pgx/v5-5.3.1
...
build(deps): bump github.com/jackc/pgx/v5 from 5.3.0 to 5.3.1
2023-03-03 12:52:21 +03:00
Lawrence, Rendall
13dbeb6318
add separate job for golangci wf
2023-03-03 12:47:56 +03:00
Lawrence, Rendall
3e5a26dd50
fix lint warnings, update wf go version
2023-03-03 12:21:57 +03:00
SOT-TECH
c545f3e637
Merge pull request #31 from sot-tech/dependabot/go_modules/github.com/stretchr/testify-1.8.2
...
build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2
2023-03-03 12:03:54 +03:00
dependabot[bot]
4574dd3939
build(deps): bump github.com/jackc/pgx/v5 from 5.3.0 to 5.3.1
...
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx ) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/jackc/pgx/releases )
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jackc/pgx/compare/v5.3.0...v5.3.1 )
---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-01 12:59:12 +00:00
dependabot[bot]
bc12a64453
build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-01 12:58:55 +00:00
SOT-TECH
9c0a49de49
Merge pull request #30 from sot-tech/dep
...
Update dependencies
2023-02-21 16:59:32 +03:00
Lawrence, Rendall
57c594c207
mod tidy
2023-02-21 16:45:45 +03:00
Lawrence, Rendall
4c21bfa100
update dependencies
2023-02-21 16:34:45 +03:00
SOT-TECH
35e9cf7f54
Merge pull request #29 from sot-tech/redis_v9
...
Redis v9
2023-02-10 00:28:07 +03:00
Lawrence, Rendall
100ce660f6
fix nolint directive
2023-02-10 00:24:23 +03:00
Lawrence, Rendall
96cc4f7eac
update go-redis to v9
2023-02-10 00:19:42 +03:00
SOT-TECH
9264fd1431
Merge pull request #27 from sot-tech/dependabot/go_modules/github.com/MicahParks/keyfunc-1.9.0
...
build(deps): bump github.com/MicahParks/keyfunc from 1.7.0 to 1.9.0
2023-02-09 23:34:45 +03:00
SOT-TECH
336734caf5
Merge pull request #28 from sot-tech/dependabot/go_modules/github.com/rs/zerolog-1.29.0
...
build(deps): bump github.com/rs/zerolog from 1.28.0 to 1.29.0
2023-02-09 23:33:47 +03:00
dependabot[bot]
4d9802c2c5
build(deps): bump github.com/rs/zerolog from 1.28.0 to 1.29.0
...
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog ) from 1.28.0 to 1.29.0.
- [Release notes](https://github.com/rs/zerolog/releases )
- [Commits](https://github.com/rs/zerolog/compare/v1.28.0...v1.29.0 )
---
updated-dependencies:
- dependency-name: github.com/rs/zerolog
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-01 12:04:45 +00:00
dependabot[bot]
c5b726bf88
build(deps): bump github.com/MicahParks/keyfunc from 1.7.0 to 1.9.0
...
Bumps [github.com/MicahParks/keyfunc](https://github.com/MicahParks/keyfunc ) from 1.7.0 to 1.9.0.
- [Release notes](https://github.com/MicahParks/keyfunc/releases )
- [Commits](https://github.com/MicahParks/keyfunc/compare/v1.7.0...v1.9.0 )
---
updated-dependencies:
- dependency-name: github.com/MicahParks/keyfunc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-01 12:04:28 +00:00
SOT-TECH
8fe4aa054a
Merge pull request #23 from sot-tech/test
...
Minor improvements
2022-12-06 13:56:39 +03:00
Lawrence, Rendall
27ae2db50c
(minor) update dependencies
...
resolves #24
resolves #25
resolves #26
2022-12-06 13:49:38 +03:00
Lawrence, Rendall
4006f6fd42
(minor) fix udp.TestReuseGeneratorGenerate clause
2022-12-01 00:02:11 +03:00
Lawrence, Rendall
cbfd37ac9c
(minor) fix UDP connection ID type in tests
2022-11-30 23:57:36 +03:00
Lawrence, Rendall
99e30961ef
(minor) convert UDP private key to bytea
2022-11-30 23:52:28 +03:00
Lawrence, Rendall
3b1c713c85
move PRNG to pkg, fix lint warnings
2022-11-30 23:20:05 +03:00
Lawrence, Rendall
f80e9af156
(untested) add salt to UDP connection ID
2022-11-30 19:10:23 +03:00
Lawrence, Rendall
a69a476024
remove memory explicit deallocation because of race
2022-11-30 18:17:12 +03:00
Lawrence, Rendall
3b1b74ad4f
simplify udp connection ID generator
2022-11-29 18:15:21 +03:00
Lawrence, Rendall
19b4b68115
revert 7e3204b9dd and replace with map+rwmutex wrappers
2022-11-27 19:32:42 +03:00
Lawrence, Rendall
765ea51796
(minor) fix log call in memory.Validate
2022-11-27 17:19:55 +03:00
Lawrence, Rendall
e1888a18a3
update dependencies
2022-11-27 17:13:35 +03:00
Lawrence, Rendall
83da66f1b1
pre-allocate peers in memory.AnnouncePeers
...
* change go version to 1.19 in linter
2022-11-27 17:07:31 +03:00
Lawrence, Rendall
7e3204b9dd
replace go map with cornelk/hashmap in memory store
2022-11-27 16:22:04 +03:00
Lawrence, Rendall
234c65333e
Add workers config parameter to start concurrent listeners
2022-11-25 13:58:04 +03:00
Lawrence, Rendall
ae0c006cd2
change hash for udp connection id to xxhash3
...
* update dependencies
2022-11-21 14:25:48 +03:00
Lawrence, Rendall
ef6d820c5b
Add cmd option for quick start w/o config file
2022-11-18 18:28:19 +03:00
Lawrence, Rendall
db671d3891
(minor) change Bytes with Hex call in logger
2022-11-18 16:05:03 +03:00
SOT-TECH
935c225cc5
Merge pull request #22 from sot-tech/sanitize_timecache
...
refactor timecache
2022-11-16 20:09:23 +03:00
Širhoe Biazhkovič
5b5bd57348
(minor) self call to NowUnixNano in TimeCache for Now
2022-11-16 20:04:02 +03:00
Širhoe Biazhkovič
0cbc5854cd
refactor timecache
...
* change clock to `atomic.Int64`
* add `once` fields for starter and stopper
* update dependencies
note: go version updated to 1.19
2022-11-16 19:59:07 +03:00
SOT-TECH
566cc0f5b6
Merge pull request #21 from sot-tech/ctx_fallthrough
...
Used for passing context to middleware and storage
to allow request cancellation (i.e. if http client closed
connection before response received).
Reworked (simplified) server shutdown.
2022-11-08 17:37:54 +03:00
Lawrence, Rendall
be40392f93
fix invalid branch in RemapRouteParamsToBgContext
2022-11-01 18:26:25 +03:00
Lawrence, Rendall
d8d6f2cf4b
refactor code for context fallthrough
2022-11-01 17:02:24 +03:00
Lawrence, Rendall
d6de38bdbd
(wip) pass context from frontend request down to store
2022-10-31 18:57:57 +03:00
SOT-TECH
c3b9615f21
Update license year
2022-10-27 04:27:12 +03:00
SOT-TECH
c3fbd49ffa
Merge pull request #20 from sot-tech/pg_named
...
Add named parameters in SQL queries, refactor config file
v0.0.3
2022-10-27 03:50:50 +03:00
Lawrence, Rendall
352c09031b
fix http double close
...
* fix docs and examples
2022-10-27 03:39:14 +03:00
Lawrence, Rendall
1f93e30c11
(wip) fix pg config example, update dependencies
2022-10-27 01:39:24 +03:00