runner/internal/app/cmd
Bo-Yi Wu 69c55ee003 refactor: daemon, config, and logging for better clarity (#225)
- Import "path", "runtime", "strconv", and "strings" packages in daemon.go
- Move "Starting runner daemon" log message to a different location
- Refactor log formatter initialization and add debug level caller information
- Split Config struct into separate Log, Runner, Cache, and Container structs with comments in config.go

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

Reviewed-on: https://gitea.com/gitea/act_runner/pulls/225
Reviewed-by: Jason Song <i@wolfogre.com>
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Co-committed-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2023-06-05 13:11:23 +00:00
..
cmd.go Refactor to new framework (#98) 2023-04-04 21:32:04 +08:00
daemon.go refactor: daemon, config, and logging for better clarity (#225) 2023-06-05 13:11:23 +00:00
exec.go fix `artifactServerPath` and `artifactServerAddr` config for exec (#221) 2023-06-05 08:51:44 +00:00
register.go Refactor to new framework (#98) 2023-04-04 21:32:04 +08:00