SetStatus save status info about download process.
(isfail bool, errormsg string)
| 77 | |
| 78 | // SetStatus save status info about download process. |
| 79 | func (this *Page) SetStatus(isfail bool, errormsg string) { |
| 80 | this.isfail = isfail |
| 81 | this.errormsg = errormsg |
| 82 | } |
| 83 | |
| 84 | // AddField saves KV string pair to PageItems preparing for Pipeline |
| 85 | func (this *Page) AddField(key string, value string) { |
no outgoing calls
no test coverage detected