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

refactor: http and route #198

Merged
merged 33 commits into from
Aug 16, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
5572bb8
refactor: route and http
devhaozi Jun 19, 2023
6bee76f
fix: route and http lint
devhaozi Jun 19, 2023
f617627
fix: lint
devhaozi Jun 19, 2023
d25b994
Merge branch 'master' into haozi-gin
devhaozi Jun 19, 2023
3cd314b
fix: add limit file
devhaozi Jun 19, 2023
80dc150
Merge remote-tracking branch 'origin/haozi-gin' into haozi-gin
devhaozi Jun 19, 2023
2cbd18b
feat: remove gin
devhaozi Jun 19, 2023
b4a7e90
feat: add Background
devhaozi Jun 19, 2023
78894e0
Merge remote-tracking branch 'origin/master' into haozi-gin
devhaozi Jun 30, 2023
52e0764
fix(auth): tests
devhaozi Jun 30, 2023
54ecced
fix(foundation): tests
devhaozi Jun 30, 2023
c4de5da
feat(route): delete tests
devhaozi Jun 30, 2023
a041880
feat: optimize code
devhaozi Jun 30, 2023
a221348
Merge remote-tracking branch 'origin/master' into haozi-gin
devhaozi Jul 9, 2023
eb6484d
feat: remove
devhaozi Jul 9, 2023
9413ec8
feat: generate mock
devhaozi Jul 9, 2023
8e6ac13
Merge remote-tracking branch 'origin/master' into haozi-gin
devhaozi Aug 10, 2023
850cce6
feat: update
devhaozi Aug 10, 2023
4b96258
Merge remote-tracking branch 'origin/master' into haozi-gin
devhaozi Aug 10, 2023
e8643d4
fix(auth): tests
devhaozi Aug 10, 2023
180a626
refactor(http): writer and flusher
devhaozi Aug 10, 2023
0ec25cb
refactor(http): writer and flusher
devhaozi Aug 11, 2023
b9b8102
refactor(http): writer and flusher
devhaozi Aug 11, 2023
76807c1
Merge remote-tracking branch 'origin/master' into haozi-gin
devhaozi Aug 11, 2023
fe775fe
fix: remove unnecessary struct
devhaozi Aug 11, 2023
bdc55fe
feat: remove RateLimiter
devhaozi Aug 11, 2023
28327f9
Revert "feat: remove RateLimiter"
devhaozi Aug 11, 2023
9795919
revert: http and route
devhaozi Aug 11, 2023
c328850
fix: default driver
devhaozi Aug 11, 2023
7ca313e
feat: go mod tidy
devhaozi Aug 11, 2023
d093a94
feat: remove http context
devhaozi Aug 12, 2023
9356bce
fix: remove unnecessary value
devhaozi Aug 12, 2023
387f600
Merge branch 'master' into haozi-gin
devhaozi Aug 16, 2023
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
Prev Previous commit
Next Next commit
feat: remove http context
  • Loading branch information
devhaozi committed Aug 12, 2023
commit d093a947c2ea1a04af42820faa67b73bb27edab4
52 changes: 0 additions & 52 deletions http/context.go
devhaozi marked this conversation as resolved.
Outdated
Show resolved Hide resolved

This file was deleted.

3 changes: 0 additions & 3 deletions http/service_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ type ServiceProvider struct {
}

func (http *ServiceProvider) Register(app foundation.Application) {
app.Singleton(BindingHttp, func(app foundation.Application) (any, error) {
return NewContext(app.MakeConfig()), nil
})
app.Singleton(BindingRateLimiter, func(app foundation.Application) (any, error) {
return NewRateLimiter(), nil
})
Expand Down