Closed LeeSmet closed 5 years ago
This is already possible by wrapping the logic of daemon.DefaultConfig(), and overwrite whatever daemon flags you want other defaults for. The initial values of this config are used when registered as flags using (*daemon.Config).RegisterAsFlags.
daemon.DefaultConfig()
(*daemon.Config).RegisterAsFlags
This is already possible by wrapping the logic of
daemon.DefaultConfig()
, and overwrite whatever daemon flags you want other defaults for. The initial values of this config are used when registered as flags using(*daemon.Config).RegisterAsFlags
.