Skip to content

Commit c27e809

Browse files
committed
Mention version advertising in documentation
1 parent 86b5752 commit c27e809

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
// protocol version explicitly, as it's not defined which version will be used in certain situations (for example
3131
// during upgrade of the cluster when some of the nodes support different set of protocol versions than other nodes).
3232
//
33+
// The driver advertises the module name and version in the STARTUP message, so servers are able to detect the version.
34+
// If you use replace directive in go.mod, the driver will send information about the replacement module instead.
35+
//
3336
// When ready, create a session from the configuration. Don't forget to Close the session once you are done with it:
3437
//
3538
// session, err := cluster.CreateSession()

0 commit comments

Comments
 (0)