Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 288 Bytes
package shuttle
import "time"
// LogLine holds the new line terminated log messages and when shuttle received them.
type LogLine struct {
line []byte
when time.Time
// Length returns the length of the raw byte of the LogLine
func (ll LogLine) Length() int {
return len(ll.line)