mirror of
https://github.com/go-gitea/gitea.git
synced 2025-05-03 06:00:37 +02:00
docs: comment for V1AlphaRoute
This commit is contained in:
parent
705fbb46d5
commit
d41fb40fb5
@ -34,6 +34,7 @@ func V1Route() (string, http.Handler) {
|
|||||||
|
|
||||||
func V1AlphaRoute() (string, http.Handler) {
|
func V1AlphaRoute() (string, http.Handler) {
|
||||||
// grpcV1Alpha
|
// grpcV1Alpha
|
||||||
|
// to support tools that haven't updated to the v1 API
|
||||||
return grpcreflect.NewHandlerV1Alpha(
|
return grpcreflect.NewHandlerV1Alpha(
|
||||||
grpcreflect.NewStaticReflector(allServices...),
|
grpcreflect.NewStaticReflector(allServices...),
|
||||||
compress1KB,
|
compress1KB,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user