mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-01 21:42:57 +09:00
docs: comment for V1AlphaRoute
This commit is contained in:
@ -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,
|
||||||
|
Reference in New Issue
Block a user