MCPcopy
hub / github.com/dapr/dapr / inputBindingServer

Struct inputBindingServer

pkg/components/bindings/input_pluggable_test.go:40–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38)
39
40type inputBindingServer struct {
41 proto.UnimplementedInputBindingServer
42 initCalled atomic.Int64
43 initErr error
44 onInitCalled func(*proto.InputBindingInitRequest)
45 readCalled atomic.Int64
46 readResponseChan chan *proto.ReadResponse
47 readErr error
48 onReadRequestReceived func(*proto.ReadRequest)
49}
50
51func (b *inputBindingServer) Init(_ context.Context, req *proto.InputBindingInitRequest) (*proto.InputBindingInitResponse, error) {
52 b.initCalled.Add(1)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected