rolling_file

package
v0.0.0-...-631d120 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(currentName func() string, openFn OpenFn) file

func NewCsvAppender

func NewCsvAppender(currentName func() string, perms fs.FileMode) csvAppender

func OsOpenFn

func OsOpenFn(name string) (*os.File, error)

implements OpenFn

Types

type OpenFn

type OpenFn func(name string) (*os.File, error)

func AppendFn

func AppendFn(perms fs.FileMode) OpenFn

implements OpenFn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL