You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-zero/rest/handler
Kevin Wan 6be37ad533
chore: optimize coding style and add unit tests (#3917)
9 months ago
..
authhandler.go Modify comment syntax error (#2572) 2 years ago
authhandler_test.go chore: change interface{} to any (#2818) 2 years ago
breakerhandler.go chore: avoid nested WithCodeResponseWriter (#3406) 1 year ago
breakerhandler_test.go chore: simplify tests with logtest (#3184) 2 years ago
contentsecurityhandler.go chore: remove unnecessary code (#3161) 2 years ago
contentsecurityhandler_test.go chore: use logx.Must instead of log.Fatal (#3189) 2 years ago
cryptionhandler.go chore: add more tests (#3577) 1 year ago
cryptionhandler_test.go chore: add more tests (#3578) 1 year ago
gunziphandler.go feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
gunziphandler_test.go feat: support baggage propagation in httpc (#2375) 2 years ago
loghandler.go update: limit logBrief http body size (#3498) 1 year ago
loghandler_test.go chore: avoid nested WithCodeResponseWriter (#3406) 1 year ago
maxbyteshandler.go feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
maxbyteshandler_test.go rename ngin to rest 4 years ago
maxconnshandler.go feat: add middlewares config for rest (#2765) 2 years ago
maxconnshandler_test.go chore: simplify tests with logtest (#3184) 2 years ago
metrichandler.go feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
metrichandler_test.go chore: fix lint errors (#2520) 2 years ago
prometheushandler.go optimize: shedding algorithm performance (#3908) 10 months ago
prometheushandler_test.go Add method label for prometheus middleware metrics (#3226) 2 years ago
recoverhandler.go feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
recoverhandler_test.go chore: simplify tests with logtest (#3184) 2 years ago
sheddinghandler.go chore: avoid nested WithCodeResponseWriter (#3406) 1 year ago
sheddinghandler_test.go chore: simplify tests with logtest (#3184) 2 years ago
timeouthandler.go feat: support sse ignore timeout (#2041) 9 months ago
timeouthandler_test.go chore: optimize coding style and add unit tests (#3917) 9 months ago
tracehandler.go chore: avoid nested WithCodeResponseWriter (#3406) 1 year ago
tracehandler_test.go feat(trace): add trace test helpers (#3108) 2 years ago