(ctx context.Context, h *textproto.Header, body buffer.Buffer)
| 115 | } |
| 116 | |
| 117 | func (gs groupState) RewriteBody(ctx context.Context, h *textproto.Header, body buffer.Buffer) error { |
| 118 | for _, state := range gs.states { |
| 119 | if err := state.RewriteBody(ctx, h, body); err != nil { |
| 120 | return err |
| 121 | } |
| 122 | } |
| 123 | return nil |
| 124 | } |
| 125 | |
| 126 | func (gs groupState) Close() error { |
| 127 | // We still try close all state objects to minimize |
nothing calls this directly
no test coverage detected