Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
File wraps an *os.File and listens for a 'SIGHUP' signal from logrotated so it can reopen the new file.
func NewFile ¶
NewFile creates a File pointer and kicks off the goroutine listening for SIGHUP signals.