Documentation ¶
Index ¶
Constants ¶
View Source
const (
ClusterConfigCollectionName = "cluster_config"
)
below are the names of all mongoDB collections
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterConfigCollectionEntry ¶
type ClusterConfigCollectionEntry struct { ID int `json:"_id,omitempty"` RowType int `json:"rowtype"` Version int64 `json:"version"` Data []byte `json:"data"` DataEncoding string `json:"dataencoding"` UnixTimestampSeconds int64 `json:"unixtimestampseconds"` }
ClusterConfigCollectionEntry is the schema of configStore IMPORTANT: making change to this struct is changing the MongoDB collection schema. Please make sure it's backward compatible(e.g., don't delete the field, or change the annotation value).
Click to show internal directories.
Click to hide internal directories.