Skip to content

Commit d481ca2

Browse files
committed
update comment/docs
1 parent 4ce11e0 commit d481ca2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/conn.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ func (c *Conn) Charset() uint8 {
156156
return c.charset
157157
}
158158

159+
// Attributes returns the connection attributes.
160+
// Note that this is only sent to the server if CLIENT_CONNECT_ATTRS is set.
159161
func (c *Conn) Attributes() map[string]string {
160162
return c.attributes
161163
}

0 commit comments

Comments
 (0)