MCPcopy
hub / github.com/grpc/grpc-go / EmptyCallOption

Struct EmptyCallOption

rpc_util.go:247–247  ·  view source on GitHub ↗

EmptyCallOption does not alter the Call configuration. It can be embedded in another structure to carry satellite data for use by interceptors.

Source from the content-addressed store, hash-verified

245// It can be embedded in another structure to carry satellite data for use
246// by interceptors.
247type EmptyCallOption struct{}
248
249func (EmptyCallOption) before(*callInfo) error { return nil }
250func (EmptyCallOption) after(*callInfo, *csAttempt) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected