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/go16.go
generated
vendored
6
vendor/google.golang.org/grpc/transport/go16.go
generated
vendored
|
|
@ -22,6 +22,7 @@ package transport
|
|||
|
||||
import (
|
||||
"net"
|
||||
"net/http"
|
||||
|
||||
"google.golang.org/grpc/codes"
|
||||
|
||||
|
|
@ -43,3 +44,8 @@ func ContextErr(err error) StreamError {
|
|||
}
|
||||
return streamErrorf(codes.Internal, "Unexpected error from context packet: %v", err)
|
||||
}
|
||||
|
||||
// contextFromRequest returns a background context.
|
||||
func contextFromRequest(r *http.Request) context.Context {
|
||||
return context.Background()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue