Versions in this module Expand all Collapse all v0 v0.0.1 Jun 13, 2023 Changes in this version + const FILEPERM_666 + const FILEPERM_755 + func FullPathInW3SecurityCacheDir(cacheDir string, filename string) (string, error) + func W3SecurityCacheDir() (string, error) + func W3SecurityCacheDirImpl(osUtil W3SecurityOSUtil) (string, error) + func W3SecurityTempDirectory(debugLogger *log.Logger) (string, error) + type OutputDestination interface + Println func(a ...any) (n int, err error) + Remove func(name string) error + WriteFile func(filename string, data []byte, perm fs.FileMode) error + func NewOutputDestination() OutputDestination + type OutputDestinationImpl struct + func (odi *OutputDestinationImpl) Println(a ...any) (n int, err error) + func (odi *OutputDestinationImpl) Remove(name string) error + func (odi *OutputDestinationImpl) WriteFile(filename string, data []byte, perm fs.FileMode) error + type ToLog struct + Logger *log.Logger + func (w *ToLog) Write(p []byte) (n int, err error) + type ToZeroLogDebug struct + Logger *zerolog.Logger + func (w *ToZeroLogDebug) Write(p []byte) (n int, err error) + type W3SecurityOSUtil interface + MkdirAll func(path string, perm os.FileMode) error + Stat func(name string) (os.FileInfo, error) + TempDir func() string + UserCacheDir func() (string, error) + func NewW3SecurityOSUtil() W3SecurityOSUtil