Versions in this module Expand all Collapse all v0 v0.5.0 Mar 15, 2026 v0.4.0 May 31, 2025 Changes in this version + const ErrorLockViolation — windows/amd64 + const LockfileExclusiveLock — windows/amd64 + const LockfileFailImmediately — windows/amd64 + func CreateDirectory(path string) error + func CreatePIDFile(pidFilePath string) error + func DetectMimeType(path string) string + func IsImageFile(mimeType string) bool + func IsTextFile(mimeType string) bool + func MergeJSONToStruct(target any, jsonMap map[string]any) error + func PathToResourceURI(path string) string + func RemovePIDFile(pidFilePath string) error + func StringInSlice(s string, modules []string) bool + type RotateWriter struct + func NewRotateWriter(filePath string, maxSize int64) (*RotateWriter, error) + func (rw *RotateWriter) CheckFileSize() error + func (rw *RotateWriter) Close() error + func (rw *RotateWriter) Write(p []byte) (n int, err error)