summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/braintree/manners/test_helpers/conn.go
blob: 8c610f58ec3dc54d796b4bfa9b8022f3ee331b0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package test_helpers

import "net"

type Conn struct {
	net.Conn
	CloseCalled bool
}

func (c *Conn) Close() error {
	c.CloseCalled = true
	return nil
}