Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Server struct { Host string Port uint16 } Download struct { Directory string ConcurrentJobs int8 } App struct { Tempdir string } Dev struct { PlaywrightDebug bool ServerLogging bool } Version string }
func NewConfig ¶
func NewConfig() *Config
Creates a new config.
This function DOES NOT save it to file. To save it, call cfg.Save()
Click to show internal directories.
Click to hide internal directories.