Move stream to interface
This commit is contained in:
@@ -60,10 +60,3 @@ func Count(c int) ReadOption {
|
||||
o.Count = c
|
||||
}
|
||||
}
|
||||
|
||||
// Stream requests continuous log stream
|
||||
func Stream(s bool) ReadOption {
|
||||
return func(o *ReadOptions) {
|
||||
o.Stream = s
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user