v0.1.0 #1
Reference in New Issue
Block a user
Delete Branch "develop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Русский
English
main.go. ceced8683akor-elf-shield.tomlfile with detailed settings and documentation 187fc9dc4bEnsureDirutility to create directories with appropriate permissions and error localization. 2847478ffbFileHasWritePermissionsutility to check file write permissions with localized error handling. ce670cefafLoggerOptionsto configure logging with enhanced error handling. 89d5ac5300logconfiguration structure and utilities to manage logging settings. cd9497a66esetting.Configaccessors to direct field access for clarity and consistency inmain.go. cdfe8b483fLoggerinterface and implementation usingzapfor structured logging 1ef42ce3bafalseLoggeras a no-op logger implementation. 2ffad8584aFatalmethod toLoggerinterface and implementos.Exit(1)behavior e5ae14d855EnsureDirto usemkdirAllWithChmodfor improved permission handling and directory creation 932670e36dpid_fileconfiguration and validation insettingpackage a7b88ff4feConfig.Log.Levelinmain.go. 23aaeb0dbcpidfilepackage to manage daemon PID files a07357cdd1daemonpackage with support forstartcommand 927bd8162dpidfileand improve PID-related log messages 6a89550737runDaemonto pass context and improve logger cleanup 2a884b24b9firewallpackage with nftables support and configuration handling 729953cc17file.Close()in a deferred function to handle error suppression during PID file operations. 3fa3c2bc88main.gofor improved readability and adherence to Go conventions. c30b8043c3start.goto improve code readability and maintain consistency. 5b55ae506aIcmpInRatefield for improved readability 4bfa7ffc1bpidfile.gofor clarity. a978518afamain.gofor better readability f81085dec2errinrunDaemonfunction 6b11626376Connectinterface abstraction 1183dde0f4assets/configsdirectory a5394a2aa1kor-elf-shield.tomlconfiguration 6a310bca22kor-elf-shieldlogs 30e48f46a2kor-elf-shielde7035cffb8README.mdwith project overview and setup instructions 8cb5563361CHANGELOG.mdwith version 0.1.0 release notes ba4d026642