martin-helmich/prometheus-nginxlog-exporter

View on GitHub
pkg/tail/struct.go

Summary

Maintainability
A
0 mins
Test Coverage
package tail

// Follower describes an object that continuously emits a stream of lines
type Follower interface {
    Lines() chan string
    OnError(func(error))
}