Documentation ¶
Index ¶
Constants ¶
View Source
const AVERAGE_LINES_COUNT = 50
View Source
const BIG_FILE_SUFFIX = "_big"
View Source
const LOG_FILE_SUFFIX = ".log"
View Source
const MAX_BYTES_PER_BATCH = network.MAX_BYTES_TO_SEND / 2 // depends on how much we can to network at once
View Source
const MAX_BYTES_PER_LINE = 1 << 20 // 1mb per line
View Source
const OLD_FILE_SUFFIX = ".old"
View Source
const READ_BUFFER_SIZE = 1 << 14 // 16kb
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type FinalSyncRequest ¶
type Listener ¶
type Listener struct { InCh chan Event // contains filtered or unexported fields }
func NewListener ¶
func NewListener(ctx context.Context, config *lsdProto.LsdConfigClientConfigT, name string, odb *offsets.Db, checker *usage.Checker, inCh chan Event, outCh chan *lsdProto.RequestNewEventsEventT, finalSyncCh chan FinalSyncRequest) *Listener
Click to show internal directories.
Click to hide internal directories.