Commit Graph

17 Commits (49135fe25eceeaf888c6b86afdd04ed0a59409db)

Author SHA1 Message Date
Kevin Wan ae87114282
chore: change interface{} to any (#2818)
* chore: change interface{} to any

* chore: update goctl version to 1.5.0

* chore: update goctl deps
2 years ago
Kevin Wan 7a75dce465
refactor: remove duplicated code (#2705) 2 years ago
heyehang a644ec7edd
feature : responses whit context (#2637) 2 years ago
Kevin Wan ed1c937998
feat: convert grpc errors to http status codes (#1997)
* feat: convert grpc errors to http status codes

* chore: circuit break include unimplemented grpc error

* chore: add reference link in comments
2 years ago
Kevin Wan 3bbc90ec24
refactor: move json related header vars to internal (#1840)
* refactor: move json related header vars to internal

* refactor: use header.ContentType
3 years ago
Vee Zhang 94ddb3380e
fix: rest: WriteJson get 200 when Marshal failed. (#1803)
Only the first WriteHeader call takes effect.
3 years ago
Kevin Wan a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
Kevin Wan 62266d8f91
fix #1070 (#1389)
* fix #1070

* test: add more tests
3 years ago
Kevin Wan 9d0b51fa26
fixes #1222 (#1223) 3 years ago
Vee Zhang 76fc1ef460
httpx.Error response without body (#982)
* httpx.Error support response without body

* fix doc
3 years ago
Kevin Wan 655ae8034c
fix golint issues in rest (#529) 4 years ago
kevin 9592639cb4 add error handle tests 4 years ago
kevin abcb28e506 support error customization 4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kim 44290aa4d6 refactor 4 years ago
kim cf8e0a118f refactor ngin to rest 4 years ago
kevin 0897f60c5d rename ngin to rest 4 years ago