Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateFn ¶
func GenerateFn(pattern *strftime.Strftime, clock interface{ Now() time.Time }, rotationTime time.Duration) string
GenerateFn creates a fh name based on the pattern, the current time, and the rotation time.
The bsase time that is used to generate the filename is truncated based on the rotation time.
func Get4096ByteNbsp ¶
func Get4096ByteNbsp() []byte
Types ¶
type BuffIO ¶
type BuffIO struct {
// contains filtered or unexported fields
}
func (*BuffIO) CreateFile ¶
CreateFile creates a new fh in the given path, creating parent directories as necessary
Click to show internal directories.
Click to hide internal directories.