Stop stops the tailing activity.
()
| 160 | |
| 161 | // Stop stops the tailing activity. |
| 162 | func (tail *Tail) Stop() error { |
| 163 | tail.Kill(nil) |
| 164 | return tail.Wait() |
| 165 | } |
| 166 | |
| 167 | // StopAtEOF stops tailing as soon as the end of the file is reached. |
| 168 | func (tail *Tail) StopAtEOF() error { |
no outgoing calls