commit a544308616f1d29b82bcd8042a713777441495c7 from: Quentin Perez date: Wed May 25 21:08:19 2016 UTC transport: Use Channel interface instead of *channel Signed-off-by: Quentin Perez commit - a056819507b3f5113ef8b52f04e67dadf29d8927 commit + a544308616f1d29b82bcd8042a713777441495c7 blob - 8a19e3836a0154314bf8f609fbf91e0ea0a29314 blob + 84c70a8988b111ab03f2a68a799ab8e905282eb8 --- transport.go +++ transport.go @@ -30,7 +30,7 @@ type transport struct { var _ roundTripper = &transport{} -func newTransport(ctx context.Context, ch *channel) roundTripper { +func newTransport(ctx context.Context, ch Channel) roundTripper { t := &transport{ ctx: ctx, ch: ch,