mhoppa commented on a change in pull request #3925: Added SMTP configuration 
and APIInfo Email method
URL: https://github.com/apache/trafficcontrol/pull/3925#discussion_r330163687
 
 

 ##########
 File path: traffic_ops/traffic_ops_golang/config/config.go
 ##########
 @@ -100,6 +103,22 @@ type ConfigTrafficOpsGolang struct {
        CRConfigEmulateOldPath bool `json:"crconfig_emulate_old_path"`
 }
 
+// ConfigTO contains information to identify Traffic Ops in a network sense.
+type ConfigTO struct {
+       BaseURL               rfc.URL          `json:"base_url"`
+       EmailFrom             rfc.EmailAddress `json:"email_from"`
+       NoAccountFoundMessage string           `json:"no_account_found_msg"`
+}
+
+// ConfigSMTP contains configuration information for connecting to and 
authenticating with an SMTP
+// server.
+type ConfigSMTP struct {
+       Address  string `json:"address"`
+       Enabled  bool `json:"enabled"`
 
 Review comment:
   go fmt on this file ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to