MCPcopy
hub / github.com/grpc-ecosystem/grpc-gateway / WithHTTPPathPattern

Function WithHTTPPathPattern

runtime/context.go:57–61  ·  view source on GitHub ↗
(pattern string)

Source from the content-addressed store, hash-verified

55)
56
57func WithHTTPPathPattern(pattern string) AnnotateContextOption {
58 return func(ctx context.Context) context.Context {
59 return withHTTPPathPattern(ctx, pattern)
60 }
61}
62
63func decodeBinHeader(v string) ([]byte, error) {
64 if len(v)%4 == 0 {

Calls 1

withHTTPPathPatternFunction · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…