mirror of
https://github.com/willnorris/imageproxy.git
synced 2026-05-10 12:32:41 +02:00
update all vendored dependencies
This commit is contained in:
parent
0c20cbe5b5
commit
1933f5bf1c
284 changed files with 37534 additions and 11024 deletions
6
vendor/google.golang.org/grpc/transport/go17.go
generated
vendored
6
vendor/google.golang.org/grpc/transport/go17.go
generated
vendored
|
|
@ -23,6 +23,7 @@ package transport
|
|||
import (
|
||||
"context"
|
||||
"net"
|
||||
"net/http"
|
||||
|
||||
"google.golang.org/grpc/codes"
|
||||
|
||||
|
|
@ -44,3 +45,8 @@ func ContextErr(err error) StreamError {
|
|||
}
|
||||
return streamErrorf(codes.Internal, "Unexpected error from context packet: %v", err)
|
||||
}
|
||||
|
||||
// contextFromRequest returns a context from the HTTP Request.
|
||||
func contextFromRequest(r *http.Request) context.Context {
|
||||
return r.Context()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue