github.com/leowmjw/otto@v0.2.1-0.20160126165905-6400716cf085/foundation/config.go (about) 1 package foundation 2 3 // Config is the configuration of the various foundational domains 4 // that Otto supports. 5 type Config struct { 6 // Service settings are used to configure the service discovery 7 // (if there is any). 8 // 9 // ServiceName is the name of the service. If this is blank, 10 // service discovery won't be configured for this application. 11 // 12 // ServicePort is the port this service is running on. 13 // 14 // ServiceTags is a list of tags associated with the service. 15 ServiceName string 16 ServicePort int 17 ServiceTags []string 18 }