Skip to content

Commit

Permalink
Mention version advertising in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-sucha committed Jun 12, 2023
1 parent 86b5752 commit c27e809
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
// protocol version explicitly, as it's not defined which version will be used in certain situations (for example
// during upgrade of the cluster when some of the nodes support different set of protocol versions than other nodes).
//
// The driver advertises the module name and version in the STARTUP message, so servers are able to detect the version.
// If you use replace directive in go.mod, the driver will send information about the replacement module instead.
//
// When ready, create a session from the configuration. Don't forget to Close the session once you are done with it:
//
// session, err := cluster.CreateSession()
Expand Down

0 comments on commit c27e809

Please sign in to comment.