Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StaticFiles embed.FS
StaticFiles will be set from the main package
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func LoadConfig ¶
LoadConfig loads the config file into the global appConfig variable If the config path is empty, the current working directory will be used
Types ¶
type SharedComponents ¶
type SharedComponents struct {
}
SharedComponents holds components that are shared between server and worker
func (*SharedComponents) Cleanup ¶
func (s *SharedComponents) Cleanup()
Cleanup cleans up all shared resources
Click to show internal directories.
Click to hide internal directories.