genied.core

Genied core with main function and do-script

-main

(-main & args)

Main function, starting point

cli-options

Command line options

do-script

(do-script {:keys [port config verbose], :as opt} arguments ctx)

Main user defined function for genied

log-location

(log-location _opt)

Determine log-file location from options and env

post-init-daemon

(post-init-daemon {:keys [port config verbose], :as opt} arguments ctx)

Setup daemon Part after starting the server.

pre-init-daemon

(pre-init-daemon {:keys [port config verbose], :as opt} arguments ctx)

Setup daemon. Part before starting the server and listen on TCP port