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

Function newFuncServerOption

server.go:226–230  ·  view source on GitHub ↗
(f func(*serverOptions))

Source from the content-addressed store, hash-verified

224}
225
226func newFuncServerOption(f func(*serverOptions)) *funcServerOption {
227 return &funcServerOption{
228 f: f,
229 }
230}
231
232// joinServerOption provides a way to combine arbitrary number of server
233// options into one.

Callers 15

SharedWriteBufferFunction · 0.85
WriteBufferSizeFunction · 0.85
ReadBufferSizeFunction · 0.85
InitialWindowSizeFunction · 0.85
InitialConnWindowSizeFunction · 0.85
StaticStreamWindowSizeFunction · 0.85
StaticConnWindowSizeFunction · 0.85
KeepaliveParamsFunction · 0.85
CustomCodecFunction · 0.85
ForceServerCodecFunction · 0.85
ForceServerCodecV2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected