Skip to content

Add interface to xfer/collector.go, and some more tests#176

Merged
tomwilkie merged 1 commit intomasterfrom
collector-interface
Jun 4, 2015
Merged

Add interface to xfer/collector.go, and some more tests#176
tomwilkie merged 1 commit intomasterfrom
collector-interface

Conversation

@tomwilkie
Copy link
Contributor

No description provided.

@tomwilkie
Copy link
Contributor Author

This is another change broken out of #123

@rade
Copy link
Member

rade commented Jun 4, 2015

This does more than the description suggests. In particular note the type change for the quit field, and the introduction of peek.

@peterbourgon
Copy link
Contributor

  • quit field change is to make it consistent with other Stoppable components in Scope
  • peek is used only for tests, we could add a comment to that effect, but since it's not exported and only called in 1 place I believe it's pretty straightforward

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

@peterbourgon
Copy link
Contributor

LGTM

@peterbourgon peterbourgon removed their assignment Jun 4, 2015
@tomwilkie tomwilkie force-pushed the collector-interface branch from 686ef26 to 338da0b Compare June 4, 2015 10:26
- Add interface to xfer/collector.go
- Add some more tests
- quit field changed to make it consistent with other Stoppable components in Scope
- Add peek, only used for tests
@tomwilkie tomwilkie force-pushed the collector-interface branch from 338da0b to 06d805d Compare June 4, 2015 10:27
@tomwilkie
Copy link
Contributor Author

I've updated to account for comments. Will merge when tests pass.

tomwilkie added a commit that referenced this pull request Jun 4, 2015
Add interface to xfer/collector.go, and some more tests
@tomwilkie tomwilkie merged commit 5e36eba into master Jun 4, 2015
@tomwilkie tomwilkie deleted the collector-interface branch June 4, 2015 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants