MCPcopy
hub / github.com/IBM/sarama / newMockMessage

Function newMockMessage

mockresponses.go:285–290  ·  view source on GitHub ↗
(key, msg Encoder)

Source from the content-addressed store, hash-verified

283}
284
285func newMockMessage(key, msg Encoder) *mockMessage {
286 return &mockMessage{
287 key: key,
288 msg: msg,
289 }
290}
291
292// MockFetchResponse is a `FetchResponse` builder.
293type MockFetchResponse struct {

Callers 1

SetMessageWithKeyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected