()
| 137 | } |
| 138 | |
| 139 | func (e *LightAppElement) BuildElement() []*message.Elem { |
| 140 | return []*message.Elem{{ |
| 141 | LightAppElem: &message.LightAppElem{ |
| 142 | Data: append([]byte{0x01}, binary.ZlibCompress([]byte(e.Content))...), |
| 143 | }, |
| 144 | }} |
| 145 | } |
| 146 | |
| 147 | func (e *XMLElement) BuildElement() []*message.Elem { |
| 148 | return []*message.Elem{{ |
nothing calls this directly
no test coverage detected