Documentation ¶
Overview ¶
Copyright © 2024 Motalleb Fallahnezhad
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Directories ¶
Path | Synopsis |
---|---|
Package abstraction must contain only interfaces and abstract layers of modules
|
Package abstraction must contain only interfaces and abstract layers of modules |
Package cmd manages the command line interface/configuration file handling logic
|
Package cmd manages the command line interface/configuration file handling logic |
parser
Package parser manages holds the logic behind the sub command `parse` this package is responsible for parsing a crontab file into valid config yaml file
|
Package parser manages holds the logic behind the sub command `parse` this package is responsible for parsing a crontab file into valid config yaml file |
Package config contains the configuration information of the application.
|
Package config contains the configuration information of the application. |
compiler
Package cfgcompiler provides mapper functions for the config structs
|
Package cfgcompiler provides mapper functions for the config structs |
core
|
|
cmd_connection
Package connection provides implementation of the abstraction.CmdConnection interface for command tasks.
|
Package connection provides implementation of the abstraction.CmdConnection interface for command tasks. |
common
Package common provides implementation of some of the basic functionalities to be used in application.
|
Package common provides implementation of some of the basic functionalities to be used in application. |
concurrency
Package concurrency provides utility functions for working with goroutines.
|
Package concurrency provides utility functions for working with goroutines. |
event
Package event contains all event emitters supported by this package.
|
Package event contains all event emitters supported by this package. |
global
Package global contains global state management logics
|
Package global contains global state management logics |
jobs
Package jobs implements the main functionality for the jobs in the application
|
Package jobs implements the main functionality for the jobs in the application |
os_credential
Package credential provides functions to switch group and user for command execution.
|
Package credential provides functions to switch group and user for command execution. |
task
Package task provides implementation of the abstraction.Executable interface for command tasks.
|
Package task provides implementation of the abstraction.Executable interface for command tasks. |
utils
Package utils provides utility functions.
|
Package utils provides utility functions. |
webserver
Package webserver implements the logic for the webserver
|
Package webserver implements the logic for the webserver |
webserver/endpoint
Package endpoint implements the logic behind each endpoint of the webserver
|
Package endpoint implements the logic behind each endpoint of the webserver |
Package ctxutils provides utility functions for working with context.Context.
|
Package ctxutils provides utility functions for working with context.Context. |
Package enums provides enums used in crontab-go.
|
Package enums provides enums used in crontab-go. |
Package helpers provides helper functions.
|
Package helpers provides helper functions. |
Package logger contains basic logging logic of the application
|
Package logger contains basic logging logic of the application |
mock_logger
Package mocklogger provides a logrus.Logger that does not log into stdout or stderr.
|
Package mocklogger provides a logrus.Logger that does not log into stdout or stderr. |
Package meta contains meta data information about this program.
|
Package meta contains meta data information about this program. |
Click to show internal directories.
Click to hide internal directories.