MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / WithContextFiller

Function WithContextFiller

pkg/rpcserver/rpcserver.go:86–90  ·  view source on GitHub ↗

WithContextFiller sets a context filler

(contextFillers ...fillcontext.Filler)

Source from the content-addressed store, hash-verified

84
85// WithContextFiller sets a context filler
86func WithContextFiller(contextFillers ...fillcontext.Filler) Option {
87 return func(o *options) {
88 o.contextFillers = append(o.contextFillers, contextFillers...)
89 }
90}
91
92// WithStreamInterceptors adds gRPC stream interceptors
93func WithStreamInterceptors(interceptors ...grpc.StreamServerInterceptor) Option {

Callers 2

TestNewRPCServerFunction · 0.92
initGRPCMethod · 0.92

Calls

no outgoing calls

Tested by 1

TestNewRPCServerFunction · 0.74