Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConnectionTCP = "tcp" ConnectionUDP = "udp" ConnectionLOCAL = "local" ConnectionFILE = "file" ConnectionNSQ = "nsq" )
View Source
const ( TagStartUp = "startup" TagConnect = "connect" TagRoutine = "routine" TagShutDown = "shutdown" )
View Source
const ( DelimiterV = " | " DelimiterH = " - " DelimiterA = " * " DefaultDelimiter = DelimiterV )
View Source
const (
LogCallerSkipLevels = 3
)
View Source
const MaxConnectorQ = 4
View Source
const (
SyncFileAfterMessagesCount = 100
)
Variables ¶
View Source
var AvailableConnections = map[string]struct{}{ ConnectionTCP: {}, ConnectionUDP: {}, ConnectionLOCAL: {}, ConnectionFILE: {}, ConnectionNSQ: {}, }
View Source
var DefaultReconnectionTime = time.Minute
Functions ¶
This section is empty.
Types ¶
type TimeParams ¶
type WriterStatus ¶
type WriterStatus uint8
const ( WriterStatusUndefined WriterStatus = iota WriterStatusOk WriterStatusStopped )
Click to show internal directories.
Click to hide internal directories.