MCPcopy
hub / github.com/connectrpc/connect-go / handlerCallInfo

Struct handlerCallInfo

context.go:86–93  ·  view source on GitHub ↗

handlerCallInfo is a CallInfo implementation used for unary handlers.

Source from the content-addressed store, hash-verified

84
85// handlerCallInfo is a CallInfo implementation used for unary handlers.
86type handlerCallInfo struct {
87 spec Spec
88 peer Peer
89 method string
90 requestHeader http.Header
91 responseHeader http.Header
92 responseTrailer http.Header
93}
94
95func (c *handlerCallInfo) Spec() Spec {
96 return c.spec

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected