MCPcopy
hub / github.com/dapr/dapr / server

Struct server

pkg/components/pubsub/pluggable_test.go:42–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40var testLogger = logger.NewLogger("pubsub-pluggable-test")
41
42type server struct {
43 proto.UnimplementedPubSubServer
44 initCalled atomic.Int64
45 onInitCalled func(*proto.PubSubInitRequest)
46 initErr error
47 featuresCalled atomic.Int64
48 featuresErr error
49 publishCalled atomic.Int64
50 onPublishCalled func(*proto.PublishRequest)
51 publishErr error
52 pullChan chan *proto.PullMessagesResponse
53 pingCalled atomic.Int64
54 pingErr error
55 onAckReceived func(*proto.PullMessagesRequest)
56 pullCalled atomic.Int64
57 pullErr error
58}
59
60//nolint:nosnakecase
61func (s *server) PullMessages(svc proto.PubSub_PullMessagesServer) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected