Documentation ¶ Index ¶ func WithPeriod(splitFunc bufio.SplitFunc, period time.Duration) bufio.SplitFunc Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func WithPeriod ¶ func WithPeriod(splitFunc bufio.SplitFunc, period time.Duration) bufio.SplitFunc WithPeriod wraps a bufio.SplitFunc with a timer. When the timer expires, an incomplete token may be returned. The timer will reset any time the data parameter changes. Types ¶ This section is empty. Source Files ¶ View all Source files flush.go Click to show internal directories. Click to hide internal directories.