| 36 | } |
| 37 | |
| 38 | type Activate struct { |
| 39 | log *log.Logger |
| 40 | cfg *config.Config |
| 41 | tomb v2utils.Tomb |
| 42 | http *http.Client |
| 43 | srv *gohttp.Server |
| 44 | ami ami.AMI |
| 45 | batch *batch |
| 46 | attrs map[string]string |
| 47 | sig chan bool |
| 48 | } |
| 49 | |
| 50 | // NewActivate creates a new activate |
| 51 | func NewActivate(cfg *config.Config) (*Activate, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected