(md metadata.MD)
| 137 | } |
| 138 | |
| 139 | func (s *attachLabelsStream) SendHeader(md metadata.MD) error { |
| 140 | if !s.attachedLabels.Swap(true) { |
| 141 | s.ServerStream.SetHeader(s.metadataExchangeLabels) |
| 142 | } |
| 143 | |
| 144 | return s.ServerStream.SendHeader(md) |
| 145 | } |
| 146 | |
| 147 | func (s *attachLabelsStream) SendMsg(m any) error { |
| 148 | if !s.attachedLabels.Swap(true) { |
nothing calls this directly
no test coverage detected