Documentation ¶
Overview ¶
package logsec provides unix log & chroot services
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LogErr = make(chan string, 100) LogInfo = make(chan string, 100) LogDebug = make(chan string, 100) )
Global Shared Locks & [Info|Error|Debug} Channel
Functions ¶
Types ¶
type ChrootD ¶
type ChrootD struct { DIR string // ch-root directory [disable: <empty>] UID int // chroot user UID number [disable: 0] GID int // chroot user GID number [disable: 0] }
ChrootD ...
type LogD ¶
type LogD struct { App string // Log App Name LogMode string // backend event log target [SYSLOG|CONSOLE|MUTE] [disable: <empty>] FileName string // backend event log target [SYSLOG|CONSOLE|MUTE] [disable: <empty>] ErrorRateLimit time.Duration // global ddos protection via error event sender }
LogD ...
Click to show internal directories.
Click to hide internal directories.