MCPcopy Create free account
hub / github.com/segmentio/encoding / Key

Method Key

proto/reflect.go:56–56  ·  view source on GitHub ↗

When the Type represents a protobuf map, calling this method returns the type of the map keys. If the Type is not a map type, the method panics.

()

Source from the content-addressed store, hash-verified

54 //
55 // If the Type is not a map type, the method panics.
56 Key() Type
57
58 // When the Type represents a protobuf map, calling this method returns the
59 // type of the map values.

Callers 10

mapDecodeFuncOfFunction · 0.65
structCodecOfFunction · 0.65
parseRewriteTemplateMapFunction · 0.65
mapTypeOfFunction · 0.65
encodeFuncMapOfFunction · 0.65
encodeFuncMapAsSetOfFunction · 0.65
decodeFuncMapOfFunction · 0.65
decodeFuncMapAsSetOfFunction · 0.65
constructMapCodecFunction · 0.65
constructMapDecodeFuncFunction · 0.65

Implementers 4

primitiveTypeproto/reflect.go
mapTypeproto/reflect.go
structTypeproto/reflect.go
opaqueMessageTypeproto/reflect.go

Calls

no outgoing calls

Tested by

no test coverage detected