Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grpc-ecosystem/grpc-gateway
/ Encode
Method
Encode
runtime/marshaler.go:31–31 ·
view source on GitHub ↗
(v interface{})
Source
from the content-addressed store, hash-verified
29
// Encoder encodes gRPC payloads / fields into byte sequence.
30
type
Encoder
interface
{
31
Encode(v
interface
{}) error
32
}
33
34
// DecoderFunc adapts an decoder function into Decoder.
Callers
15
TestFormatEncode
Function · 0.95
toYAMLNode
Method · 0.95
encodeOpenAPI
Function · 0.95
TestOpenapiExamplesFromProtoExamples
Function · 0.95
TestJSONPbEncoder
Function · 0.95
TestJSONPbEncoderFields
Function · 0.95
TestJSONBuiltinEncoder
Function · 0.95
TestJSONBuiltinEncoderFields
Function · 0.95
TestProtoEncoderDecodert
Function · 0.95
WithHealthEndpointAt
Function · 0.65
testRequestQueryParams
Function · 0.65
prepareRequest
Method · 0.65
Implementers
1
dummyEncoder
runtime/marshaler_registry_test.go
Calls
no outgoing calls
Tested by
8
TestFormatEncode
Function · 0.76
TestOpenapiExamplesFromProtoExamples
Function · 0.76
TestJSONPbEncoder
Function · 0.76
TestJSONPbEncoderFields
Function · 0.76
TestJSONBuiltinEncoder
Function · 0.76
TestJSONBuiltinEncoderFields
Function · 0.76
TestProtoEncoderDecodert
Function · 0.76
testRequestQueryParams
Function · 0.52