From c128865c4c7411c29a59fca9a3a2f95537686d7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20B=C3=BCtow?= Date: Mon, 20 Jan 2020 18:41:05 +0000 Subject: Move commands to cmd/ and move internal dependencies to internal/ --- fs/lineread.go | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 fs/lineread.go (limited to 'fs/lineread.go') diff --git a/fs/lineread.go b/fs/lineread.go deleted file mode 100644 index 7ee558e..0000000 --- a/fs/lineread.go +++ /dev/null @@ -1,28 +0,0 @@ -package fs - -import ( - "fmt" -) - -// LineRead represents a read log line. -type LineRead struct { - // The content of the log line. - Content []byte - // Until now, how many log lines were processed? - Count uint64 - // Sometimes we produce too many log lines so that the client - // is too slow to process all of them. The server will drop log - // lines if that happens but it will signal to the client how - // many log lines in % could be transmitted to the client. - TransmittedPerc int - GlobID *string -} - -// Return a human readable representation of the followed line. -func (l LineRead) String() string { - return fmt.Sprintf("LineRead(Content:%s,TransmittedPerc:%v,Count:%v,GlobID:%s)", - string(l.Content), - l.TransmittedPerc, - l.Count, - *l.GlobID) -} -- cgit v1.2.3