Skip to content

Commit fca3968

Browse files
committedDec 4, 2023
epp: unexport client.Conn
1 parent b3d77dc commit fca3968

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎client.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type Client interface {
1717
}
1818

1919
type client struct {
20-
net.Conn
20+
conn net.Conn
2121
client protocol.Client
2222
greeting epp.Body
2323
}
@@ -68,13 +68,13 @@ func connect(conn net.Conn, cfg config.Config) (Client, error) {
6868
}
6969

7070
return &client{
71-
Conn: conn,
71+
conn: conn,
7272
client: c,
7373
greeting: greeting,
7474
}, nil
7575
}
7676

7777
func (c *client) Close() error {
7878
// TODO: handle pending transactions
79-
return c.Conn.Close()
79+
return c.conn.Close()
8080
}

0 commit comments

Comments
 (0)
Please sign in to comment.