Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeEvent ¶
type ChangeEvent struct { ID bsonx.Doc `bson:"_id" json:"_id"` Operation string `bson:"operationType" json:"operation"` Document bson.M `bson:"fullDocument" json:"document"` Namespace namespace `bson:"ns" json:"namespace"` NewCollectionName bson.M `bson:"to" json:"new_collection_name"` DocumentKey documentKey `bson:"documentKey" json:"document_key"` Updates bson.M `bson:"updateDescription" json:"updates"` ClusterTime interface{} `bson:"clusterTime" json:"cluster_time"` Transaction int64 `bson:"txnNumber" json:"transaction"` SessionID bson.M `bson:"lsid" json:"session_id"` }
mongo订阅消息对象
Click to show internal directories.
Click to hide internal directories.