missing methods comments

This commit is contained in:
Umputun
2020-01-18 22:39:21 -06:00
parent d69495a9e4
commit f30f9b97af
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -22,6 +22,7 @@ type RemapCommand struct {
CommonOpts
}
// Execute runs (re)mapper with RemapCommand parameters, entry point for "remap" command
func (rc *RemapCommand) Execute(args []string) error {
log.Printf("[INFO] start remap, site %s, file with rules %s", rc.Site, rc.InputFile)
resetEnv("SECRET", "ADMIN_PASSWD")
+1
View File
@@ -105,6 +105,7 @@ type ServerCommand struct {
CommonOpts
}
// ImageProxyGroup defines options group for image proxy
type ImageProxyGroup struct {
HTTP2HTTPS bool `long:"http2https" env:"HTTP2HTTPS" description:"enable HTTP->HTTPS proxy"`
CacheExternal bool `long:"cache-external" env:"CACHE_EXTERNAL" description:"enable caching for external images"`