A: go.mod

This commit is contained in:
Shuo
2020-03-01 15:58:57 +08:00
parent e209ea8ccc
commit 4f174b3415
21 changed files with 394 additions and 386 deletions

View File

@@ -1,17 +1,17 @@
package build
const (
OP_REPLY = 1 //Reply to a client request. responseTo is set.
OP_UPDATE = 2001 //Update document.
OP_INSERT = 2002 //Insert new document.
RESERVED = 2003 //Formerly used for OP_GET_BY_OID.
OP_REPLY = 1 // Reply to a client request. responseTo is set.
OP_UPDATE = 2001 // Update document.
OP_INSERT = 2002 // Insert new document.
RESERVED = 2003 // Formerly used for OP_GET_BY_OID.
OP_QUERY = 2004 //Query a collection.
OP_GET_MORE = 2005 //Get more data from a query. See Cursors.
OP_DELETE = 2006 //Delete documents.
OP_KILL_CURSORS = 2007 //Notify database that the client has finished with the cursor.
OP_QUERY = 2004 // Query a collection.
OP_GET_MORE = 2005 // Get more data from a query. See Cursors.
OP_DELETE = 2006 // Delete documents.
OP_KILL_CURSORS = 2007 // Notify database that the client has finished with the cursor.
OP_COMMAND = 2010 //Cluster internal protocol representing a command request.
OP_COMMANDREPLY = 2011 //Cluster internal protocol representing a reply to an OP_COMMAND.
OP_MSG = 2013 //Send a message using the format introduced in MongoDB 3.6.
)
OP_COMMAND = 2010 // Cluster internal protocol representing a command request.
OP_COMMANDREPLY = 2011 // Cluster internal protocol representing a reply to an OP_COMMAND.
OP_MSG = 2013 // Send a message using the format introduced in MongoDB 3.6.
)