github.com/mdaxf/iac@v0.0.0-20240519030858-58a061660378/vendor_skip/go.mongodb.org/mongo-driver/internal/const.go (about)

     1  // Copyright (C) MongoDB, Inc. 2017-present.
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License"); you may
     4  // not use this file except in compliance with the License. You may obtain
     5  // a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
     6  
     7  package internal // import "go.mongodb.org/mongo-driver/internal"
     8  
     9  // Version is the current version of the driver.
    10  var Version = "local build"
    11  
    12  // LegacyHello is the legacy version of the hello command.
    13  var LegacyHello = "isMaster"
    14  
    15  // LegacyHelloLowercase is the lowercase, legacy version of the hello command.
    16  var LegacyHelloLowercase = "ismaster"
    17  
    18  // LegacyNotPrimary is the legacy version of the "not primary" server error message.
    19  var LegacyNotPrimary = "not master"