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

Function NewMockJoinGroupResponse

mockresponses.go:1286–1291  ·  view source on GitHub ↗
(t TestReporter)

Source from the content-addressed store, hash-verified

1284}
1285
1286func NewMockJoinGroupResponse(t TestReporter) *MockJoinGroupResponse {
1287 return &MockJoinGroupResponse{
1288 t: t,
1289 Members: make([]GroupMember, 0),
1290 }
1291}
1292
1293func (m *MockJoinGroupResponse) For(reqBody versionedDecoder) encoderWithHeader {
1294 req := reqBody.(*JoinGroupRequest)

Calls

no outgoing calls